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)
-   -   Need to edit the states field in checkout form... (https://forum.x-cart.com/showthread.php?t=9133)

rgbdna 08-28-2004 09:28 PM

Need to edit the states field in checkout form...
 
Hi There,

I am trying to find where to edit the states field and the way they are displayed in the checkout page.

All the states have a (US:) in front of them...I would like to remove this.

In the admin panel I can see the states...but it's obviously not there...I think it's in a .php page? Maybe the checkout form?

I am having a hard time with this so any help is greatly appreciated.

Thanks,

rgbdna

rgbdna 08-30-2004 11:31 PM

Anyone?
 
Can anyone shed light on this subject?

Thanks,

rgbdna

B00MER 08-31-2004 05:04 AM

main/states.tpl find and remove:

Code:

{$states[state_idx].country_code}:

rgbdna 08-31-2004 09:57 AM

Thanks!
 
Thanks Boomer,

You're Awsome.

I am learning so much and it's great to have people help when you hit a road block.

Thanks again!

rgbdna

tph 09-02-2004 03:46 PM

removal of states
 
If main/states.tpl is removed, will this affect other templates such as shipping zones etc

main/states.tpl find and remove:

Code:

{$states[state_idx].country_code}:

tph

rgbdna 09-02-2004 04:45 PM

Thanks
 
Thanks Tph

That's what Boomer said......

rgbdna

nfc5382 12-24-2006 09:08 AM

Re: Need to edit the states field in checkout form...
 
ha i didnt even realize that the drop down had US: and CA: text preceding the states. what a pain! great fix, thanks!


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

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