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)
-   -   Selecting STATES (https://forum.x-cart.com/showthread.php?t=13357)

mpj 04-11-2005 01:04 PM

Selecting STATES
 
My cart is setup to ship only within the United States.

Can setup the states to display as

" California " instead of " US: California " This is for the drop down box when the customer is registering.

mpj 04-14-2005 04:40 PM

^bump

balinor 04-14-2005 05:12 PM

Open up main/states.tpl and replace this:

Code:

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

with this:

Code:

{$states[state_idx].state}

Haven't tested it, but that should do the trick.

BryanSt 10-05-2005 09:38 AM

Works great!
 
Just the edit I was looking for & wanted to report that it seems to work fine in my modifed X-Cart. Thanks for posting!


All times are GMT -8. The time now is 06:36 PM.

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