【问题标题】:add billing address field in magento在 magento 中添加帐单地址字段
【发布时间】:2014-02-08 14:52:26
【问题描述】:

我需要添加一个新的帐单地址字段

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

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

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版本。

请建议我可能是什么问题或应该进行哪些更改。

【问题讨论】:

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


    【解决方案1】:

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

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

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

    然后插入一条记录并检查。

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

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-31
      • 1970-01-01
      • 1970-01-01
      • 2021-06-06
      • 1970-01-01
      • 2010-12-13
      • 1970-01-01
      相关资源
      最近更新 更多