Questions? Answers.

Have a question? Post it and let the masses answer.
Tags/topics: 
1
Answers
Vote up!
1
Vote down!

This SKU is already in use and must be unique. Please supply another value.

I'm getting this error using the inline entity form module but the product has not been added anywhere else. Any ideas?

Asked by: jprugh
on June 15, 2012

1 Answer

Vote up!
1
Vote down!

Hey @jprugh,
Currently the inline entity form (IEF) only supports creating new entities (products). Go to store > products and find the product/sku your referencing and then delete it. Then you'll be able to re-create it in the IEF widget. If you cannot delete the product, it is because it's referenced by a shopping cart or completed order. In that case, you can change the "widget type" for your product reference back to autocomplete, then add the product, then change it back to IEF. There is an issue open to extend the IEF widget to allow existing entieies to be associated. http://drupal.org/node/1526084. Some of my clients had the same problem which prompted me to get involved to get this feature added to the IEF module.
Thanks
Andy

Answer by: andyg5000
Posted: Jun 18, 2012

Comments

I have the same problem, from time to time, and I can confirm that the new product is not in any way a duplicate of any previously entered product. So the following...

"Go to store > products and find the product/sku your referencing and then delete it."

...can't solve anything.

/marcus

- farrington on June 19, 2012
drupalcommerce Check out the #Drupal Commerce 2.x Roadmap to see where you can get involved: http://t.co/WAc3jmXY2a
drupalcommerce A new blog discussing the new showcase listing http://t.co/FHOzhAg3tl http://t.co/J5C87imjhb
drupalcommerce RT @drupalcon: Thanks @CommerceGuys and @CommerceJohn for your support, and for #CommerceKickstart! Take the tour http://t.co/ivKEYH7k0o
drupalcommerce Updating our extensions directory: 665 new or updated modules, distributions, sandboxes, & themes. http://t.co/6NMMofYo12 #weloveyouguys