在magento中添加帐单邮寄地址字段

时间:2014-02-08 14:52:26

标签: php zend-framework attributes magento-1.7 add

我需要添加一个新的结算地址字段

应该在前端和管理员中显示,也可以在包装单中显示。

为此,我在谷歌搜索,我找到了以下链接

  

http://www.magentocommerce.com/wiki/5_-_modules_and_development/how_to_add_custom_field_in_billing_and_shipping_address_in_frontend_and_backend

我完全遵循他们建议的所有步骤,

但是新字段未出现在客户地址部分的管理员中。

我使用的是magento1.7.02版本。

请告诉我可能是什么问题或者应该做出改变。

1 个答案:

答案 0 :(得分:0)

我在magento管理面板中添加了字段

直接在数据库中使用链接中给出的步骤。

http://excellencemagentoblog.com/magento-adding-custom-field-to-customer-address

然后插入记录并检查。

对于结帐页面,请在路径中添加字段

/app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml

然后使用上面的url添加地址格式。如果您有任何澄清,请告诉我。