Search code examples
magentoattributesmagento-1.4entity-attribute-value

How do I rename an attribute code in Magento?


I want to rename an existing attribute's code to something else. The reason is because the attribute field is filled out for 300+ products and I don't want to have to re-import all of those just because I changed the code of an attribute.


Solution

  • You can edit it in mysql at eav_attribute.attribute_code. Be sure to take backups prior and re-index all in System>Index Management afterwards.