VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Ordering States as with Countries
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SDCPieter
VP-ASP New User

United Arab Emirates
57 Posts

Posted - April 23 2008 :  07:23:09  Show Profile  Reply with Quote
Where can I order the appearance of states like I can with which countries shows up first? And if there is code to modify, where can I do that?

-

SDCPieter
VP-ASP New User

United Arab Emirates
57 Posts

Posted - April 23 2008 :  07:27:48  Show Profile  Reply with Quote
Also I'd need to know how to get rid of "None" in the state field as I want that to be required

-
Go to Top of Page

tpspsz
Starting Member

Australia
2 Posts

Posted - May 06 2008 :  09:44:11  Show Profile  Reply with Quote
Agree with question. I'm in Australia and my customer does not want to see all the US states and UK counties listed before the Australian states. Most orders will come from Australia.

I've reordered the countries but this does not result in the states being reordered.

Short of modifying code (where?), the only "solution" I have at the moment is to "hide" all the US & UK states which seems a little silly.

IMHO, the "best" solution would be to automatically reorder the states to match the country ordering, a "workable" solution would be to locate the Country field before the State field - after the country is selected, the page reloads and the state dropdown has the states for the specified country only.

As a VPASP newbie, any help from more experienced users would be greatly appreciated. TIA!
Go to Top of Page

tpspsz
Starting Member

Australia
2 Posts

Posted - May 06 2008 :  10:35:22  Show Profile  Reply with Quote
Hi!

Have solved part of problem. If we ignore the "None" issue for the moment, the state ordering can be setup in ShopAdministration->Shipping->Xdisplaystates. In this field enter the list of country codes (AU, US, CA, UK, etc.). The order of the countries here determines the ordering of the states.

We still need a resolution to the field apparently being mandatory (marked with an asterisk) but being initialized with "None" and having "Select" as a user selectable value. If the field is mandatory, user responses of "None", "Select" or blank should not be allowed.

Help from anyone with an answer here would be greatly appreciated.

TIA!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000