Hey, this isn't really a bug, but it is an issue with the way AutoSKU works with Commerce feeds.

Currently if you have AutoSKU set to generate SKUs, it will also generate them for products imported via commerce feeds. This becomes an issue if the imported CSV also contains SKUs itself, because the entry becomes duplicated & drupal throws a database error rather than submitting the product. The workaround for this is to either disable generated SKUs, or remove the SKU field from the CSV, & loose SKUs that are potentially administratively important. Either way you loose functionality for the client.

Could we have it so that AutoSKU will generate SKUs if the product hasn't got one, but not if it has? That way you can leave AutoSKU on for times where the client is submitting products individually, but also allow for SKUs to be imported via CSV.

Comments

rbayliss’s picture

Status: Active » Fixed

Have you tried unchecking the "Always regenerate SKU's" checkbox for this product type? That should allow your SKU's to be accepted without being overwritten.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.