VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: fabioweb on October 19, 2016, 14:29:05 PM

Title: Select Mandatory attribute
Post by: fabioweb on October 19, 2016, 14:29:05 PM
Hello!
in this product (http://"http://dev.visionexperience.eu/it/sunglasses/ray-ban-2132-902-new-wayfarer-detail") i have a custom field called "Misura"
Here my question..

- How is it possible to set as mandatory before adding product to cart?
- Is it possible to set as first option "--Choose Misura--"?

Thank you for help




Title: Re: Select Mandatory attribute
Post by: GJC Web Design on October 19, 2016, 17:47:28 PM
there may be a way but i couldn't find one

on https://www.soesterpapierdiscounter.nl/pbm/handschoenen/handschoen-latex-wit-gepoederd-detail I used some javascript to enforce it
Title: Re: Select Mandatory attribute
Post by: Ghost on October 20, 2016, 11:40:48 AM
Can do that with variant. See demo http://demo.virtuemart.net/dress-shirt-with-tie-detail
Title: Re: Select Mandatory attribute
Post by: balai on October 20, 2016, 11:58:49 AM
Try the Custom Fields For All
https://breakdesigns.net/extensions/customfields-for-all

That feature exists in that plugin
Title: Re: Select Mandatory attribute
Post by: Milbo on October 20, 2016, 13:17:05 PM
You just need to set a custom as "cart attribute", or use children