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)
-   -   Editing Contact Us Form (https://forum.x-cart.com/showthread.php?t=23348)

mike@tatechnology.net 07-17-2006 10:57 AM

Editing Contact Us Form
 
I found the template in the webmaster mode for the contact us form but don't want to mess with the coding. What I want to do is change the "state" option to remove the US in front of it.

Example:


US: Alaska
US: Alabama
US: Ohio


And so on. The coding as country code in it, but I don't want to mess things up. Can anyone tell me how to edit this so it just displays the states without the US in front of it?

Thanks!

balinor 07-18-2006 02:16 AM

In main/states.tpl, replace this:

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

with this:

{$states[state_idx].state}

mike@tatechnology.net 07-18-2006 07:04 AM

Thanks!


All times are GMT -8. The time now is 09:27 AM.

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