• Resolved SamValiant

    (@samvaliant)


    Hello,

    On my site, when I go to a product variation and say choose a colour, it updates the product image with the relevant colour image. However when I have this plugin enabled, the screen goes white and I get a loading gif rotating indefinitely, I assume thats ajax. Is there a way to stop it blocking product images?

    Cheers,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor littlebizzy

    (@littlebizzy)

    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.

    Thread Starter SamValiant

    (@samvaliant)

    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?

    Plugin Contributor littlebizzy

    (@littlebizzy)

    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.

    Thread Starter SamValiant

    (@samvaliant)

    Ah strange when I tried it, it didn’t work. Will try again. Thankyou

    Thread Starter SamValiant

    (@samvaliant)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce Variation Images’ is closed to new replies.