| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Make product options required? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Make product options required?
I have two attribute groups: size and color and neither change the price or inventory.
Is there a way to make these options required? eg, so the user HAS to select a size and color before adding to cart? Otherwise, it's easy for the user to forget and order wrong size/ color. Also, is there a way to have simple options with no variants; eg, I don't need inventory control or price difference on the options, but I have to create variants for every option possibility before the product is available for sale.
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5 Linux |
|||||||
#2
|
|||||||
|
|||||||
Re: Make product options required?
Did you ever find out if product options can be required? I also need to make them required.
__________________
xcart 4.7.2 |
|||||||
#3
|
|||||||
|
|||||||
Re: Make product options required?
In version 4.x, option validation is a stock and very important part of product setup.
http://help.x-cart.com/index.php?title=X-Cart:Product_Options#Product_options_validation and http://help.x-cart.com/index.php?title=X-Cart:Product_Options#How_to_prohibit_customers_fro m_adding_a_product_without_making_an_option_select ion.3F Is this functionality missing from version 5.x?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||
|
|||||||
Re: Make product options required?
I was hoping to avoid having to write any JavaScript to validate but can if that is the only way. I was just hoping for a "required" checkbox in the product option. I just updated my signature - I am still on 4.x also.
__________________
xcart 4.7.2 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Make product options required?
This is very easily achieved with html5/css3 without any js scripts, just pure html code. Of course XC is not even close to be html5/css3 coded.... maybe in 5-6 years...
So your only option right now with stock XC is to use js validation code as Jeremy suggested
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|