Because variable products in WooCommerce use AJAX when changing the variations this plugin currently doesn’t work in such cases.
Instead you can disable cart fragments on certain pages only, such as your homepage and other pages, while keeping it active on your product pages.
Please see the FAQ for instructions —
We will try to update the description to better explain this, thanks.
Right, so I’ve noticed that with the plugin variations work fine, it’s just that the images don’t seem to update.
So is there a way to enable the plugin globally but disable it only on a few pages. Ie so the define( 'DISABLE_CART_FRAGMENTS', '123,456,789' ); works in reverse?
Actually that is how the existing constant should work, if you copy paste that to your wp-config.php file and define which pages to disable cart fragments than all other pages should enable cart fragments by default.
Not sure if you mean the opposite, having cart fragments disabled site-wide by default and then a constant to enable them on just a few pages? Since the typical WooCommerce site has more products than pages, the current arrangement seems a bit more logical for easy of management.
Ah strange when I tried it, it didn’t work. Will try again. Thankyou
Ah ok, I realised you meant it doesn’t work with any variations. Sadly as I have almost 1000 products with variations this plugin might not be the solution I was hoping for.
Thankyou for trying to help though.