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)
-   -   Remove Country Code from State Drop-Down List (https://forum.x-cart.com/showthread.php?t=15944)

ink0198 08-15-2005 08:52 PM

Remove Country Code from State Drop-Down List
 
How can I remove the country code from the drop-down list in the customer/administrator profile sections? Instead of states showing as US:Ohio I just want the drop-down to read Ohio.

Thanks!

shan 08-16-2005 02:28 AM

open skin1/main/states

find this

Code:

<OPTION value="{$states[state_idx].state_code}"{if $default eq $states[state_idx].state_code and $default_country eq $states[state_idx].country_code} selected{/if}>{$states[state_idx].country_code}: {$states[state_idx].state}</OPTION>

and remove this bit

Code:

{$states[state_idx].country_code}:

ink0198 08-25-2005 09:08 AM

Thanks!

ryno 02-19-2006 05:48 PM

thanks - too!


All times are GMT -8. The time now is 05:57 AM.

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