Jump to content

SOLVED Customers addresses coming out wrong


Recommended Posts

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 by Littlepants (see edit history)
  • Like 1
Link to comment
Share on other sites

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 by Littlepants (see edit history)
Link to comment
Share on other sites

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

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

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

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

×
×
  • Create New...