简体   繁体   English

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

[英]add billing address field in magento

I need to add a one new billing address field 我需要添加一个新的帐单邮寄地址字段

which should be shown in frontend and admin both also in packaging slip. 装箱单中应同时在前端和管理员中显示。

For this I have search on google and I found the below link 为此,我在Google上进行了搜索,并找到了以下链接

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

I have exactly follow all the steps they have suggested , 我完全按照他们建议的所有步骤进行操作,

but the new field is not appeared in the admin at the customer address section. 但新字段未出现在“客户地址”部分的管理员中。

I am using the magento1.7.02 version. 我正在使用magento1.7.02版本。

Please suggest me what could be the issue or the changes should be. 请向我建议可能是问题还是更改。

I have added fields in magento admin panel 我在magento管理面板中添加了字段

using the steps given in the link, directly in the database. 使用链接中给出的步骤,直接在数据库中。

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

Then insert a record and check. 然后插入一条记录并检查。

For checkout page, add the field in the path 对于结帐页面,请在路径中添加字段

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

Then you have add the address format using the above url. 然后,使用上述网址添加地址格式。 Kindly let me know, if you have any clarification. 如果您有任何澄清,请告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM