Good day. I shop at some goods that can be sold only to persons older than 18 years. I set the field for the articles, which selects from a list that he is more than 18 years. But I can somehow set the field was mandatory, otherwise it will not order? Currently shop your order even if you select any option from the list. How do I set that was ordered goods only when you select "yes"?
link: http://www.lukysipy.sk/kuse/pistolova-kusa-kobra (http://www.lukysipy.sk/kuse/pistolova-kusa-kobra)
thx
I guess the only way would be javascript to detect the state of the radio button and disable the add to cart if +18 not checked
OK. This is not a normal part of the VM settings? I must search for nay plugin?
not that I know of .. would be highly unlikely some one would write a plugin for something so specific
it requires some js code in your product detail templare
is it all products are just some?
I changed your thread title so maybe you get more responses.
In English "elderly" is the oldest generation
but you only have the custom field (I assume it's a custom field?) on the products that need it?
Quote from: GJC Web Design on November 13, 2013, 13:52:00 PM
but you only have the custom field (I assume it's a custom field?) on the products that need it?
yes
then as I suggested - some JS in the details template to detect if the correct radio is checked - if not disable the add to cart
Quote from: GJC Web Design on November 13, 2013, 13:55:02 PM
then as I suggested - some JS in the details template to detect if the correct radio is checked - if not disable the add to cart
thx. will be search for it :)