yebberdog Posted July 2, 2009 Share Posted July 2, 2009 Please help.Living in the UK, I have created "States" for all counties in the UK, e.g. "Devon,England", "Somerset, England"However when the address is printed out it reads wrong:-First Name,Last NameAddress 1Address 2Post CodeUnited Kingdom (Devon, England)What I am trying to achieve isFirst Name,Last NameAddress 1Address 2Devon, EnglandPost CodeUnited Kingdom I have always used Zen Cart and this is never been an issue,so I was interested in the Presta Shop and I am sure there is an easy way around this. The shipping is the only thing that is stopping me using this on a live project. Hope you can all help with what I am sure is a simple problem that I have over looked.Best Regards Link to comment Share on other sites More sharing options...
jhnstcks Posted July 3, 2009 Share Posted July 3, 2009 There are a few files that you need to alter to change the formatting of the address.If you just want to change from the customers view point then you need to alter athentication.tpl, address.tpl, addresses.tpl, order-address.tpl, these are all in your theme folder. Also address.php which is in the classes folder.To change the admin aswell you also need to alter adminaddress.php and adminorders.php. These are both in admin>tabs folder. Link to comment Share on other sites More sharing options...
yebberdog Posted July 3, 2009 Author Share Posted July 3, 2009 Thank you very much, I am not too good with code but I will give it a go, thank you for the pointer. Link to comment Share on other sites More sharing options...
yebberdog Posted July 3, 2009 Author Share Posted July 3, 2009 I still find it strange that the state is listed after the country, as most countries have counties or provences. All the previous shopping cart systems once the Country is selected allow you to then add the states, counties or provences.Is this not normal? Link to comment Share on other sites More sharing options...
goldfoot Posted July 10, 2009 Share Posted July 10, 2009 Ok.Somebody. PLEASE help!I'm using the latest version of PrestaShop, and about to pull my hair out over getting addresses to appear "American" style. I've gone ahead and edited:address.tpladdresses.tplauthentication.tplorder-address.tpland even:order-address.jsThe customer now sees their address in the correct format on most of the pages, but for the life of me, I cannot find what file to edit in the "summary" phase of the check-out process! That is the last one I need to fix.Anyone? Please? Link to comment Share on other sites More sharing options...
jhnstcks Posted July 11, 2009 Share Posted July 11, 2009 The order summary page is controlled through the order-address.tpl file.Theres 2 sections in that file you need to change.First is near the top of the file and the second is lower down at about line 42ish. Link to comment Share on other sites More sharing options...
pneeds Posted July 11, 2009 Share Posted July 11, 2009 I've done it an easier way:I went to the BACK PFFICE > TOOLS > TRANSLATIONS > FRONT OFFICE + BACK OFFICE + MODULE + just search through all the options > Click on the American Flag > Then I just swap over the Names See my site.x Link to comment Share on other sites More sharing options...
goldfoot Posted July 13, 2009 Share Posted July 13, 2009 Yep. Got that one...changed code to: {l s='Your delivery address'} {$address.city}, {$address.state} {$address.postcode} {l s='Update'} Not the code affecting the summary area! Link to comment Share on other sites More sharing options...
Recommended Posts