Magento Forum

   
How to edit shipping_address.format .html? 
 
mjewel
Jr. Member
 
Total Posts:  8
Joined:  2008-08-28
 

The email template(s) make a call for:

{{var order.shipping_address.format(’html’)}}

{{var order.billing_address.format(’html’)}}

For the English USA address, it is incorrectly putting the zip code before the State on both the shipping and billing address.

John Smith
122 New Road
San Francisco, 94129-3702, California
United States

How can I make this change?  I did find this question asked in the forum before, but there were no replies.

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mjewel
Jr. Member
 
Total Posts:  8
Joined:  2008-08-28
 

Can anyone give a hint?

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  521
Joined:  2008-07-13
Portland, OR
 

Yes, this seems like it’s a bug. I’ll file it as such.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rainman127
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2008-06-30
 

Here’s what you’re looking for.

Back up first!!

find the file:

YOUR_MAGENTO_INSTALL/app/code/core/Mage/Customer/etc/config.xml

replace it with the attached file.

Back up first!!

File Attachments
config.xml  (File Size: 17KB - Downloads: 714)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top