Hi Davide,
We apologize for the inconvenience.
Does this happen for any specific products?
If so, please share the product link here.
And, how many variations do those products have?
Thank You
Hi Davide,
We apologize for the inconvenience.
Does this happen for any specific products?
If so, please share the product link here.
And, how many variations do those products have?
Thank You
Plugin not loaded with too many variations
Davide Guerra
Hi. I have a problem with your Variation Swatches for Woocommerce plugin. Sometimes the javascript library that manage the frontedn is not correctly loaded by the browser and thus all option – even those not available – are shown as available. Some months ago I contacted you for the same reason and your assistance team gave me a snippet for my functions.php file:
// Increase Ajax threshold for Woocommerce Variations Switches plugin (otherwise it won’t work for variable products with a large amount of variations)
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;
}
add_filter( ‘woocommerce_ajax_variation_threshold’, function($qty, $product){
return 100;
}, 10, 2 );
This has not helped me: the problem continue to occur. Any idea?