Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Need to edit the states field in checkout form...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-28-2004, 09:28 PM
 
rgbdna rgbdna is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 31
 

Default 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
__________________
v.3.10.5 Great creative direction is clarity cleverly delivered.
Reply With Quote
  #2  
Old 08-30-2004, 11:31 PM
 
rgbdna rgbdna is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 31
 

Default Anyone?

Can anyone shed light on this subject?

Thanks,

rgbdna
__________________
v.3.10.5 Great creative direction is clarity cleverly delivered.
Reply With Quote
  #3  
Old 08-31-2004, 05:04 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

main/states.tpl find and remove:

Code:
{$states[state_idx].country_code}:
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #4  
Old 08-31-2004, 09:57 AM
 
rgbdna rgbdna is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 31
 

Default 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
__________________
v.3.10.5 Great creative direction is clarity cleverly delivered.
Reply With Quote
  #5  
Old 09-02-2004, 03:46 PM
 
tph tph is offline
 

Member
  
Join Date: Jul 2004
Location: Australia
Posts: 11
 

Default 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
__________________
x-cart gold
Reply With Quote
  #6  
Old 09-02-2004, 04:45 PM
 
rgbdna rgbdna is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 31
 

Default Thanks

Thanks Tph

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

rgbdna
__________________
v.3.10.5 Great creative direction is clarity cleverly delivered.
Reply With Quote
  #7  
Old 12-24-2006, 09:08 AM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 481
 

Default 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!
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020