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

Too Many Variations for hide/blur

Hide/Blur option or items out of stock seems to stop working after 100 variations. In other answers for this question in the forums there is a ajax threshold option that I do not see anywhere. I do have the Pro version.

 

Golam Kibria

Hi Christopher,

Will you please try adding the following snippet to your child theme’s functions.php

add_filter( 'woo_variation_swatches_global_ajax_variation_threshold_max', 'woo_variation_swatches_global_ajax_variation_threshold_max_edit', 10, 2 );

function woo_variation_swatches_global_ajax_variation_threshold_max_edit( $size, $product ){
return 700;
}

Let me know if this helps.

Thank You