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

Required product variants

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-14-2012, 12:09 PM
 
jonwatson87 jonwatson87 is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 32
 

Default Required product variants

I don't suppose anyone could tell me the code for the validation script box in order to require product options to be selected before being added to the cart?

I've got a text field where the customer inputs size required, but don't want them to be able to leave it blank!
__________________
X-Cart Pro 4.5
Reply With Quote
  #2  
Old 05-14-2012, 12:48 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Required product variants

http://help.x-cart.com/index.php?title=X-Cart:Product_Options#Product_options_validation
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 05-14-2012, 10:51 PM
 
jonwatson87 jonwatson87 is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 32
 

Default Re: Required product variants

Brilliant. Thank you very much.
__________________
X-Cart Pro 4.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:30 PM.

   

 
X-Cart forums © 2001-2020