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

Default state

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-30-2009, 08:07 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Default state

Is there any where i can see what could be available in the admin sub menu's before a third party edits the sub menu lists as this is the second time i have had to add back a sub menu.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #12  
Old 01-30-2009, 08:08 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Default state

Look in your skin1_original folder
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 01-30-2009, 08:38 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Default state

Thanks Balinor your speed and knowledge are cool.
I have tried to create a new state code AA county **Please Select** it is at the top of the list in admin but from the front end it is hidden above the line below it, is it possible to have "Please Select" on view at the top of the list.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #14  
Old 01-30-2009, 08:57 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Default state

SORTED set default state in general settings
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #15  
Old 01-30-2009, 09:19 AM
 
Rob_D Rob_D is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 62
 

Default Re: Default state

Check it in different browsers. They sort the java code differently, and if your states have been moved around at all, and the sequence is out of order in the database, they will not sort the same.

Rob
__________________
4.1.11
Rob Dolliver

www.jessicasonline.com
Xcart Skin - Fashion Mosaic
X-Cart 4 Level Horizonal Flyout Menus
alteredCart One Page Checkout
alteredCart Buy Together
CDSEO
Reply With Quote
  #16  
Old 01-30-2009, 09:43 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Default state

Thanks for the reminder i have checked and all looks ok.

Tony
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #17  
Old 02-22-2009, 01:16 PM
  assman's Avatar 
assman assman is offline
 

Newbie
  
Join Date: Jan 2006
Location: New Haven, IN
Posts: 1
 

Default Re: Default state

I have the default state changed to *Please Select State* and customers still forget to select one. So the order ends up with *Please Select State* on the shipping label. The pull-down should be blank and mandatory. Is there a way to make the default state blank such that the customer is forced pick a state?

Allen
__________________
For practical jokers:
The stinkiest liquid in the world!
LiquidAss.com
XCart 4.1.11
Reply With Quote
  #18  
Old 02-25-2009, 12:09 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Default state

Thanks for the tip, Rob.
Quote:
Is there a way to make the default state blank such that the customer is forced pick a state?

Instead of using AA as the code suggested above, leave the CODE field blank. When the javascript sees the option value set to blank, it triggers the messages to the customer that the fstate field needs to be selected.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #19  
Old 02-25-2009, 04:30 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Default state

Hi gb2world is it possible to have the explorer popup box to tell the customer to fill in the state/county field like it does for all the other fileds that are not correctly filled in.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #20  
Old 02-25-2009, 05:14 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Default state

Yes - that is what is happening. When the X-CART javascript code that checks the form sees the blank value associated with the "select a state" text that you added, it treats it as if you had left any other required field on the form blank and warns the user to make a selection.

One nuance - when you are in the administration, adding the new state, the form will not allow you to leave the Code filed blank. Just put something in. then, once it is accepted, you can go back and update it with null data.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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 11:58 AM.

   

 
X-Cart forums © 2001-2020