Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

United States Drop down menu for "States"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-14-2008, 08:13 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default United States Drop down menu for "States"

Going through and tweaking a few things on my cart and realized I dont have a drop down menu for my states box, the customer has to manually type in their state if they live in the United States.

How do I make it so when a customer selects United States they have a drop down menu to choose their state.

Do I have to manually add each of the 50 states?
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #2  
Old 01-15-2008, 04:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: United States Drop down menu for "States"

If you used the US version when you installed, it should have added them all. If not, you'll need to run this file in the sql folder:

states_US.sql
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-13-2009, 07:17 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: United States Drop down menu for "States"

I am working on a site that the client would like to have a state drop down box added to the product detailed description page for products. ( its a long story)
I have added an option field to the pages for state that the customer can manually add the state but I am looking for a solution that is similar to the one that one would see when you check out.

Is there a way I can add a state chooser to this option field?

As always any help thoughts are greatly appreciated.

Thanks

Scott V
fotodog13
4.18 pro
4.1.1 gold
Apache
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #4  
Old 01-13-2009, 07:45 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: United States Drop down menu for "States"

Just create a modifier, not a text box.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-13-2009, 08:10 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: United States Drop down menu for "States"

Thanks Balinor

I did just that.
I guess I was getting kinda of lazy working on this site. I was hoping to find a script that I could just paste into the filed rather than have to type in 50 states, but it was probably quicker ,easier and simpler just typing in the states as options

Thanks
Again
Best

Scott V
fotodog13
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #6  
Old 01-13-2009, 08:35 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: United States Drop down menu for "States"

Yea, that script was for a database entry so it wouldn't have worked for a product option
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:20 AM.

   

 
X-Cart forums © 2001-2020