在Magento 1.4.2中添加自定义客户属性

时间:2011-08-02 07:44:56

标签: magento attributes custom-fields

如何使用Magento 1.4.2版本在后端向客户属性添加自定义字段

非常感谢。

2 个答案:

答案 0 :(得分:1)

答案 1 :(得分:0)

您应该使用安装程序为客户实体添加新属性。您可以在以下文件中找到示例(按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