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

Changing the States drop-down list

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-06-2006, 07:32 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default Changing the States drop-down list

I'd like to change the states dropdown list to get rid of the "US:" in front of each one, since it makes it harder for people to get to their state (I always try to hit the first letter).

If I find the file and change it to remove the US: from each state, will it screw up people's profiles? I want to make sure I don't hurt anyone's account.

Thanks,

Jeremy
__________________
Version 4.0.17/4.0.18
Reply With Quote
  #2  
Old 08-07-2006, 02:45 AM
 
balinor balinor is offline
 

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

Default

http://forum.x-cart.com/viewtopic.php?t=12616
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-09-2006, 11:25 AM
 
GMADMIN GMADMIN is offline
 

Member
  
Join Date: Sep 2006
Posts: 12
 

Default Re: Changing the States drop-down list

Where is the list of states stored? I would like Other blanked out, and can't figure out where this is stored. Thanks.
__________________
-GMADMIN-
Xcart 4.0.18
Reply With Quote
  #4  
Old 11-09-2006, 11:39 AM
 
balinor balinor is offline
 

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

Default Re: Changing the States drop-down list

main/states.tpl. Comment this out:

<OPTION value="{if $value_for_other ne "no"}Other{/if}"{if $default eq "Other"} selected{/if}>{$lng.lbl_other}</OPTION>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-09-2006, 12:05 PM
 
GMADMIN GMADMIN is offline
 

Member
  
Join Date: Sep 2006
Posts: 12
 

Default Re: Changing the States drop-down list

Didn't work
__________________
-GMADMIN-
Xcart 4.0.18
Reply With Quote
  #6  
Old 12-14-2006, 09:51 PM
 
doersam@hotmail.com doersam@hotmail.com is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Snohomish, WA
Posts: 153
 

Default Re: Changing the States drop-down list

Commenting out in 4.1.4 worked to remove the "Other" from the drop down list.
__________________
Thanks,
Phil

X-Cart Gold
Version 4.4.5
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 04:57 PM.

   

 
X-Cart forums © 2001-2020