View Single Post
  #5  
Old 01-03-2005, 06:17 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Update "states.tpl" to list as: State [Countr

Quote:
Originally Posted by Adian009
I am a keyboard (versus mouse) person and when I am filling in forms, I like to press the "R" key to get Rhode Island (the only US R State!)

X-Cart, however, lists there states like this: US: Rhode Island, so my keying an R would not work.

If you make this change in the /skin1/main/states.tpl file, you can list your states in the list box as: Rhode Island [US], which makes it much easier for many folks (IMHO).


CHANGE THIS: {$states[state_idx].country_code}: {$states[state_idx].state}

TO THIS: {$states[state_idx].state}[{$states[state_idx].country_code}]

Well, that is it!

--al

Appreciate the tip...

Used this in 4.0.9 vs and works fine
__________________
vs 4.1.12
Reply With Quote