Forums / General Questions / Customer information requires State even if I select a country with address format 5

Customer information requires State even if I select a country with address format 5

Locked

Views: 746

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Nov 2009, 6:43 PM
#1
mgimmerman avatar

mgimmerman

New Zenner

Join Date:
Sep 2009
Posts:
2
Plugin Contributions:
0

Customer information requires State even if I select a country with address format 5

I have a multi-country site with the United States and Argentina. I selected address format 5 for Agentina as it does not require a state. However when I enter a customer and select Agentina, the system still requires that I enter a state. How do I get the system to present the proper address format which in the case should not even show the state drop down.

4 Nov 2009, 10:31 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Customer information requires State even if I select a country with address format 5

You'll have to rewrite all the logic for those fields if you want it to work that way.

At the present time, the address-format options are only used to determine the appropriate output of the collected address information. It has no bearing on collecting address details.

.
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.