I’m having a difficult time creating some add-to-cart form validation with variable products.
–I’ve disabled the add-to-cart button animation so that the button displays by default
–I currently have the color/image swatch add-on as well as the gravity forms for woocommerce add-on on the product page
–I don’t want to have an image swatch or the gravity form fields selected by default
I can’t seem to find the code that will allow me to perform a very simple validation to check if either a swatch has been selected or a gravity radio button has been checked.
Since the gravity forms add-on is installed, I’m assuming the modification would be in the gravity-forms-product-addons.php file, but I haven’t had success.
Any assistance would be appreciated.
Test url: http://wordypress.info/?product=Dreamer
- The topic ‘add-to-cart form validation, variable products, and add ons’ is closed to new replies.