Add new values to a attribute option in magento
I am trying to add new values to attribute option in magento using a script to speed up the process since I have over 2,000 manufactuers Here is a piece of code that I used to perform exactly this task. Create a custom module (using ModuleCreator as a tool) and then create a mysql4-install-0.1.0.php under the sql/modulename_setup folder. It should contain the following (adapted to your own data, of course!). $installer = new Mage_Eav_Model_Entity_Setup('core_setup'); $installer->startSetup(); $aManufacturers = array('Sony','Philips','Samsung','LG','Panasonic','Fujitsu','Daewoo','Grundig',