+ there is an error in the console
Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture
+ there is an error in the console
Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture
Hi Shai,
Could you check your free and premium version of the WooCommerce Variation Swatches plugin?
The current version of swatches plugins is the following.
WoooCoommerce – Version 5.5.2
Variation Swatches for WoooCoommerce – Version 1.1.17
Variation Swatches for WooCommerce Pro – Version 1.1.17
Please make sure you are using the same version and let me know your reported issue has been fixed or not in this latest update?
Thank You
Hello,
Sorry, It’s not about the WP Rocket plugin, Swatches plugin is fully compatible with this plugin. It’s the issue of your site caching. Please try to clear all cache for mobile devices and if possible exclude swatches js files from Wp Rocket plugin.
Thanks
Hi
I can add the JS file, which file should I exclude?
BTW – I don’t think it’s about clearing the cache as I checked it before opening this ticket
Those files you can exclude:
/wp-content/plugins/woo-variation-swatches/assets/js/frontend.min.js
/wp-content/plugins/woo-variation-swatches-pro/assets/js/frontend-pro.min.js
/wp-content/plugins/woo-variation-swatches-pro/assets/js/add-to-cart-variation.min.js
Thanks
After checking with WP-Rocket support you should be aware that when activating mobile cache there is an issue and the following configuration should be applied
/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
woo_variation_swatches_options
/woo-variation-swatches/
Your answer was incorrect and not on the highest professional level
Hi Shai,
Apologize, we are sorry for your inconvenience. Is the issue still persist on your site?
Thank you
No,
This is the right configuration to resolve it
Swatches are not working on iPhone – customers can’t purchase!
Shai Adler
When trying to select on mobile, swatches are not working
Works OK on in desktop