Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / zone_code zone_name??

zone_code zone_name??

Locked

Started by malachi on 21 Sep 2010, 6:55 PM · Views: 978

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Sep 2010, 6:55 PM
#1
malachi avatar

malachi

New Zenner

Join Date:
Jul 2010
Posts:
24
Plugin Contributions:
0

zone_code zone_name??

Hi forum!:)

I'm using Zencart v1.3.8

When I added zone codes I noticed that in adrress book next to country there is zone_code while in order details like shipping adrress, billing adrress there is zone_name.
Unfortunately I don't know PHP yet so I'm asking for help in modyfing code so in adrress book there is zone_name instead of zone_code.

Thanks in advance.

22 Sep 2010, 4:14 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: zone_code zone_name??

You should not be changing the address-book. If you do that you'll break all kinds of important infrastructure including taxes and shipping and more.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Sep 2010, 6:50 AM
#3
malachi avatar

malachi

New Zenner

Join Date:
Jul 2010
Posts:
24
Plugin Contributions:
0

Re: zone_code zone_name??

The thing is that my zone code is just a number. I'm using zone_code to sort zone_name (because of the Polish letters I don't get right order in drop down box).
I think I will change zone_code then.
Thanks!