VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: zenza on August 02, 2016, 21:14:46 PM

Title: Check on CUSTOM FIELDS upon Add to CART
Post by: zenza on August 02, 2016, 21:14:46 PM
Hello.
Following current trends it is necessary to do conveniently for the user. It to show the add to cart button on the page of categories in all goods. But when using custom fields pressing of this button leads to the fact that all custom fields are ignored and the goods are put in a basket without them.
How to make check on availability of custom fields and if they are, not to put goods in a basket, and to open the page of a product?
PLEASE help  :-[ ::) :)
Title: Re: Check on CUSTOM FIELDS upon Add to CART
Post by: balai on August 03, 2016, 20:31:57 PM
You need to be able to set the custom fields are required/compulsory.
You can do it if you use that plugin for your custom fields
https://breakdesigns.net/extensions/customfields-for-all
Title: Re: Check on CUSTOM FIELDS upon Add to CART
Post by: zenza on August 04, 2016, 08:33:00 AM
Quote from: balai on August 03, 2016, 20:31:57 PM
You need to be able to set the custom fields are required/compulsory.
You can do it if you use that plugin for your custom fields
https://breakdesigns.net/extensions/customfields-for-all
Super.
You have an example in category without the "add to cart" button, with this button works also?
Title: Re: Check on CUSTOM FIELDS upon Add to CART
Post by: GJC Web Design on August 04, 2016, 13:52:01 PM
or it is possible to disable the add to cart when no choice is made by some JS if there is just a couple of choices

as i did here:  https://www.soesterpapierdiscounter.nl/pbm/hygienedisposables
Title: Re: Check on CUSTOM FIELDS upon Add to CART
Post by: zenza on August 04, 2016, 21:07:37 PM
Quote from: GJC Web Design on August 04, 2016, 13:52:01 PM
or it is possible to disable the add to cart when no choice is made by some JS if there is just a couple of choices
as i did here:  https://www.soesterpapierdiscounter.nl/pbm/hygienedisposables
the link doesn't work (((
Title: Re: Check on CUSTOM FIELDS upon Add to CART
Post by: GJC Web Design on August 04, 2016, 21:21:38 PM
does here.....  https://www.soesterpapierdiscounter.nl/pbm/hygienedisposables