Как переименовать код аттрибута в Magento

Для того, чтобы переименовать код аттрибута, можно воспользоваться таким install скриптом..
|
1 2 3 4 |
$installer = Mage::getModel('eav/entity_setup','core_setup'); $installer->updateAttribute('customer','address_1',array('attribute_code'=> 'address1')); |
Author: | Rating: / | Tags:

Leave a Reply