
Magento Duplicate ID Solution
By:
amhustle on
Jun 2nd, 2012 | syntax:
None | size: 0.77 KB | hits: 91 | expires: Never
Hi Guys,
I have been having the same problem after attribute import. My solution is by using PhpAdmin because I didn’t want to modify core files .
1. Copy the number from the error msg ( ex: Item (Mage_Eav_Model_Entity_Attribute_Option) with the same id “721” already exist )
2. Go to PhpAdmin , choose your database and click Search on top. Paste or write the number. Choose “eav_attribute_option_value” from “Inside table(s):” and click GO.
3. Click Browse from the search result. If you see 2 rows which has the same option_id , delete the second one.
Thats it .
I had only 4-5 duplicate values so it took 5 minutes to delete them . If you have 1000 duplicate values then you might want to modify the code.
Have a nice day
Hope this helps some people