禁用邮政编码Magento 1.6.2

时间:2013-03-16 13:00:01

标签: magento

好吧,我的网站差不多完成了。 我已经安装了IWD One页面结账,我将邮政编码条目设为“隐藏” 但我也想从“我的帐户”中找到这个字段。 有什么提示吗? 谢谢

2 个答案:

答案 0 :(得分:0)

您可以在这些文件的前端My Account部分找到邮政编码字段的代码:

app/design/frontend/PACKAGE/THEME/template/customer/form/register.phtml
app/design/frontend/PACKAGE/THEME/template/customer/form/address.phtml
app/design/frontend/PACKAGE/THEME/template/customer/address/edit.phtml

答案 1 :(得分:0)

echo $ this-> __('Zip / Postal Code')

这是您将在.phtml文件中找到的代码行。 使用Path Hint获取.phtml路径。

所以从customer / form / register.phtml和其他.phtml文件中删除该行。