Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using commerce_autosku with commerce_feeds module.
I have unchecked "Always regenerate SKU" checkbox from Commerce Product settings.
My CSV file has SKU, Title, Price fields.
After importing products I am getting an error of
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'commerce_product-161' for key 'PRIMARY'
Can anyone help me here to find out the solution ?
Thanks in advance.
Comments
Comment #1
a.d2000 CreditAttribution: a.d2000 commentedComment #2
tarasiadis CreditAttribution: tarasiadis commentedI have the same issue.
Comment #3
mihai_brb CreditAttribution: mihai_brb commentedI think the issue should be addressed by commerce_autosku module somehow.
When I am importing products and assign an SKU value, I would like that value to stay the same, especially when I will add that SKU to a product display.