How to customize magento onepage checkout form

人走茶凉 提交于 2019-12-22 04:16:17

问题


i am using Magento 1.5.1.0 and i want to customize the address block in the onepage checkout form. I want to remove the "fax" input field and put the "region" dropdown below the country "dropdown". Where is this form defined?

Kind Regards, Bertie


回答1:


Navigate to your theme folder. The default file is at location:

app\design\frontend\base\default\template\checkout\onepage\shipping.phtml



回答2:


You might need to change multiple files:

As above:

app\design\frontend\base\default\template\checkout\onepage\shipping.phtml

but also...

app\design\frontend\base\default\template\checkout\onepage\billing.phtml

and also...

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

Tada!




回答3:


Oh and don't forget app\design\frontend\base\default\template\customer\address\edit.phtml



来源:https://stackoverflow.com/questions/10194341/how-to-customize-magento-onepage-checkout-form

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!