Page 1 of 1

OpenCart 1.5.4.1 City isn't displayed in shipping address

Posted: Mon Jun 16, 2014 11:29 pm
by bertjeb
I want to use opencart for my new web shop. If that is working fine I want to move my other web shops to opencart as well.

When I was testing opencart I found an issue regarding the city for the end user (customer) in the back-end it is working fine. So I assume the city is stored correctly .
It now lookslike this:
XXXX
XXXXX
XXXXXXstraat XXX
5XX1ED{City}
It is also not working with the default theme or when I switch to English.
Many thanks

Re: OpenCart 1.5.4.1 City isn't displayed in shipping addres

Posted: Thu Jun 19, 2014 6:45 pm
by straightlight
Hi Bertjeb,

the line you're looking for is located in: catalog/controller/account/address.php file:

Code: Select all

$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . '{country}';

Re: OpenCart 1.5.4.1 City isn't displayed in shipping addres

Posted: Thu Jun 19, 2014 8:51 pm
by Qphoria
How about the one in the admin->system->localisation->Countries -> EDIT
Maybe it was mistyped there?