Zen Cart Logo
Forums / General Questions / UK address format (6) incorrect?

UK address format (6) incorrect?

Locked

Views: 3,005

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Oct 2008, 3:43 PM
#1
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

UK address format (6) incorrect?

Should address format 6 (used for the UK) output addresses in the following format?

Alex Clarke
123 Anyhouse
Anytown
SRY
GU1 234
United Kingdom

For some reason, the county/state code is appearing instead of the name.

In the example above SRY should read Surrey.

29 Oct 2008, 3:49 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: UK address format (6) incorrect?

Not a problem I've ever seen on a UK cart. There must be something more specific about yours that is causing this. What mods / customisations / templates do you have?

29 Oct 2008, 4:03 PM
#3
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: UK address format (6) incorrect?

Hi kuroi,

Just had a thorght, I applied the world_zones_v2_7a SQL to my installation. This added thousands of states/counties to Zen Cart.

All of the United Kingdom zones were entered with a zone code (which I don't believe is used over here in the UK).

Now, Zen Cart must (by default) display the zone code in the address instead of the zone name.

So, when the addresses are built up everything is working as it should.

I'm guessing the solution is to change the zone codes to match the zone names for all zones within the UK.

I hope that all makes sense! :blink:

Cheers,

Alex

29 Oct 2008, 4:06 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: UK address format (6) incorrect?

It does make sense. That SRY does sound like somebody's idea of a code for Surrey, rather than something programmatically derived from it.

29 Oct 2008, 4:11 PM
#5
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: UK address format (6) incorrect?

Agreed. I'll change things now as stated above.

After double checking the original world_zones_v2_7a SQL I noticed that some zones codes are just the zone names (for other countries).

Thanks for the reassurance. :smile: