How to Add Custom Field in the Billing and Shipping Address of Onepage Checkout in Magento
I have created the module for adding the new custom field in the
Billing and Shipping address of the Onepage checkout. All the code of
the module is given below. Step: – 1
Add Custom Field into Billing Address tab of the Onepage Checkout in Frontend. app\design\frontend\[Package_name]\[Theme_name]\template\checkout\onepage\billing.phtml
Step: – 2
Add Custom Field into Shipping Address tab of the Onepage Checkout in Frontend. app\design\frontend\[Package_name]\[Theme_name]\template\checkout\onepage\shipping.phtml
Step: – 3
Add Custom Field into Customer Address Edit tab in Frontend. app\design\frontend\[Package_name]\[Theme_name]\template\customer\address\edit.phtml
I have made some changes to the Address Templates in Magento Admin. if
you are using Magento Version 1.3.2.4 then you have to made changes in
the following file. app/code/core/Mage/Customer/etc/config.xml
and if you are using Magento Upper Version than 1.3.2.4 then you can
chage from the Admin panel of the Magento as given following path. System->Configuration->Customers->Customer Configurations->Address Templates
Add following code in the “Text” Textarea.
Step: – 5
I have made some changes to the Address Templates in Magento Admin. if
you are using Magento Version 1.3.2.4 then you have to made changes in
the following file. app/code/core/Mage/Customer/etc/config.xml
and if you are using Magento Upper Version than 1.3.2.4 then you can
chage from the Admin panel of the Magento as given following path. System->Configuration->Customers->Customer Configurations->Address Templates
Add following code in the “HTML” Textarea.
I have made some changes to the Address Templates in Magento Admin. if
you are using Magento Version 1.3.2.4 then you have to made changes in
the following file. app/code/core/Mage/Customer/etc/config.xml
and if you are using Magento Upper Version than 1.3.2.4 then you can
chage from the Admin panel of the Magento as given following path. System->Configuration->Customers->Customer Configurations->Address Templates
Add following code in the “PDF” Textarea.
No comments:
Post a Comment