Hi,
I think there is a issue with your theme. Try same for WordPress default theme, you will find that if there is no variable selected, you will not get add to cart button. So if you are getting add to cart button without selecting variation on variable product, it means there is a issue with your theme. Also this functionality is default woocommerce functionality. So mostly it breaks somewhere in your theme.
Let me know, if you didn’t get it working on wordpress default themes as same. so than i can put it in bug checking and release update for same.
There is no bug in the theme as stated in the post I have overwritten the woo css to always display the add-to-cart button due to heavy A/B testing. This works with no issue. Your plugin works fine and even shows an error if you try to add a product before selecting a variation, but if you follow what I listed (even on the default theme, with the 1 line of .css changed) the plugin does not state an error it simply adds a non-existing product to the cart. The should be an error stating to pick a variation.
Hi,
I like to know is that anything you are using for variable products, any other plugin ? Cause i already tested plugin as per your steps.
1) tried to add product without selecting variation – error.
2) tried with selecting variation – success
3) again cleared variation and tried without variation – error.
Here are Quick Screen shots with default themes.
1) http://prntscr.com/6zzouc
2) http://prntscr.com/6zzp66
3) http://prntscr.com/6zzpva
As per procedure it only adds 1 product in cart. – http://prntscr.com/6zzqa4
Basically i know what you saying, it not supposed to add product without selecting variation and which works fine in plugin, you need to check with you theme, other plugin or any custom js which can conflict with each other in that.
Also it will still work perfectly and shows error if i forced add to cart button display as block. I already tested above with that simple css code added in style.
Ok it looks like it is a plugin conflict with Woocommerece’s own plugin “Woocommerece Variation Swatches and Plugins”…
Any suggestions for getting them to work together. Getting this Jquery error on the product page.
GET [url]/undefined 404 (not found. – jquery.js?ver=1.11.2:3
Hi,
do you have demo url to test, in starting i tested plugin with woocommerce variation swatches. It was working fine. But recently there are lots of update pushes by woocommerce and for other plugins. so i am unable to test it for all plugins.
Let me know testing url, i will check error and try to solve the issue.
Marking it resolved as no response from month.