Warm tip: This article is reproduced from serverfault.com, please click

How do I rename an attribute code in Magento?

发布于 2011-03-04 19:21:23

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.

Questioner
user9903
Viewed
0
Jonathan Day 2011-03-05 05:46:01

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.