Magento Forum

   
Turn Postcode into capitals and capitalize address
 
DaymoH
Sr. Member
 
Total Posts:  106
Joined:  2008-09-18
 

Does anyone have any ideas how to make the postcode all capitals and capitalize the address (mainly want the postcode though)?

 
Magento Community Magento Community
Magento Community
Magento Community
 
J_T_
Moderator
 
Avatar
Total Posts:  1961
Joined:  2008-08-07
London-ish, UK
 

strtoupper() in the right place should do it for the postcode. For the address, you’ll need some logic to handle hyphenated stuff etc. Front-end has multiple places of address entry, same as back-end so it needs changing in a few places.

 
Magento Community Magento Community
Magento Community
Magento Community
 
DaymoH
Sr. Member
 
Total Posts:  106
Joined:  2008-09-18
 

Thanks J.T that’s what I thought, any clues as to where I may find the inputs? just a general direction would be helpful.

Thanks again

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top