X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Create Profile Form ~ Billing Address (https://forum.x-cart.com/showthread.php?t=13003)

NJB 03-24-2005 05:27 PM

Create Profile Form ~ Billing Address
 
I'm having a small issue with the 'Create Profile' form, and wonder if someone can help.

When I register as a new customer and enter a country that does not have associated States in the billing address details (eg. New Zealand), it adds the letters "NS" to the State field. When I go to 'Submit' and save it says that NS is not recognised as a State, and comes up with an error message.

Is there a way that I can change the template so that when I enter a country that doesn't have a predetermined list of States it does not enter anything in the State field?

I presume I need to edit the /main/register_billing_address.tpl template, but am not sure which code relates to this.

Any help would be appreciated.

Thanks,
Tracy

balinor 03-24-2005 05:38 PM

Have you turned off the States in the Countries section? There is a tickbox that says 'has states' next to each country. Untick the ones that don't.

NJB 03-24-2005 05:45 PM

Thanks
 
Thank you - it's easy when someone shows you how.
Appreciate your help, and Happy Easter.


All times are GMT -8. The time now is 06:53 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.