Littlepants Posted September 2, 2013 Share Posted September 2, 2013 (edited) The addresses of my customers are coming out in the wrong order on the orders. The post code is coming out before the town, and it should be the other way around. Could you tell me how to change that please? I'm in UK, if that makes a difference - I think it might! Thanks Edited September 3, 2013 by Littlepants (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted September 2, 2013 Share Posted September 2, 2013 can you show how it looks in your back office? I suppose that it isn't error, am i right? you just want to change the order of address elements like Town, Code, Country etc? Link to comment Share on other sites More sharing options...
Littlepants Posted September 3, 2013 Author Share Posted September 3, 2013 (edited) Thanks so much for getting back to me. . Yes thats right - I just need to change the order of address elements. It looks like this at the moment, and I need postal code to come AFTER city ID First name last name address postal code city country (I can't post a screen shot - the forum won't let me) So could you explain how to change the order please - pretty please! Edited September 3, 2013 by Littlepants (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 3, 2013 Share Posted September 3, 2013 open file: ADMIN_DIR/themes/default/template/controllers/orders/helpers/view.tpl there is something like: {foreach from=$customer_addresses item=address} <option value="{$address['id_address']}"{if $address['id_address'] == $order->id_address_delivery} selected="selected"{/if}>{$address['alias']} - {$address['address1']} {$address['postcode']} {$address['city']}{if !empty($address['state'])} {$address['state']}{/if}, {$address['country']}</option> {/foreach} just change order of parameters Link to comment Share on other sites More sharing options...
Littlepants Posted September 3, 2013 Author Share Posted September 3, 2013 Thank you - that makes sense to me in a way, but I am still a bit wet behind the ears (sorry!) I'm not sure about 'open file' I can't find ADMIN_DIR. I can find preferences/themes/default, but can't get any further than that. Could you possibly explain further please? Thanks Link to comment Share on other sites More sharing options...
vekia Posted September 3, 2013 Share Posted September 3, 2013 you have to use FTP service or maybe you've got some file manager in your hosting control panel? ADMIN_DIR - is an directory of your prestashop back office and second part of path is a path to the file, take a look how it looks on windows os: D:\xampp\htdocs\1550a\padmin\themes\default\template\controllers\orders Link to comment Share on other sites More sharing options...
Littlepants Posted September 3, 2013 Author Share Posted September 3, 2013 Sorry! I know I am being a complete bimbo here, but FTP service I don't understand, and hosting control panel I don't understand. The Prestashop back office is when I log in to my domain/admin - right? I am working on a mac, so maybe that's the problem - could that be it? Sorry to be such a pain - i'm a real newbie to all this! Link to comment Share on other sites More sharing options...
Littlepants Posted September 3, 2013 Author Share Posted September 3, 2013 I've solved this! It's in the countries - edit. Simples! (when you know how anyway! Just thought this might help someone else Thanks for your efforts as well - much appreciated, even if I didn't 'get' it! Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2013 Share Posted September 4, 2013 thanks for information and for your solution im convinced that it will be really helpfull for other merchants with similar expectations best regards Link to comment Share on other sites More sharing options...
Littlepants Posted September 4, 2013 Author Share Posted September 4, 2013 It's the least I can do after all the help I've had from you so far - what's sauce for the goose is sauce for the gander If I find solutions to any other things I'll post them as well Link to comment Share on other sites More sharing options...
Recommended Posts