Post by bertjeb » Mon Jun 16, 2014 11:29 pm

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

Newbie

Posts

Joined
Fri Jun 13, 2014 9:44 pm

Post by straightlight » Thu Jun 19, 2014 6:45 pm

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}';

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Qphoria » Thu Jun 19, 2014 8:51 pm

How about the one in the admin->system->localisation->Countries -> EDIT
Maybe it was mistyped there?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 13 guests