Add custom customer attributes in Magento 1.4.2
how can I add custom fields to customer attributes in backend w开发者_如何学编程ith the Magento version 1.4.2
Thanks a lot.
You can install Pol Attribute Manager: http://www.magentocommerce.com/magento-connect/mathphp/extension/898/attributes-manager/reviews
You should add a new attribute for customer entity using installer. You can find examples in the following files (search by addAttribute
)
app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-1.4.0.0.0-1.4.0.0.1.php
mage14/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-1.4.0.0.2-1.4.0.0.3.php
精彩评论