fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Whitepage on product with 27 variations

Hi,

I have a product with 27 variations. When I try to load the page, it shows only white page. When I disable the plugin, the product is loaded. On products with fewer variations it works. Any idea how to fix it? Maybe I can deaktivate the plugin only for this single product?
Using chatgpt I tried to do this, but without success:

add_action( ‘wp’, function() {
$product_id_to_disable = 26939;

if ( is_product() && get_the_ID() == $product_id_to_disable ) {
add_filter( ‘disable_woo_variation_gallery’, ‘__return_true’ );
}
});

Thanks and regards,
Steffen

Hakik Zaman

Hi Steffen,

Thanks for reaching out to us.

How many images you have added using the main product gallery (not the variation gallery)?

Hope to hear from you soon.

Thank You