Is this happening consistently for any products, at 30 variations?
Do you have a demo site we can take a look at?
Thanks!
Thread Starter
Oska
(@oskatalal)
As a workaround for now, you can increase the ajax limit as described here:
https://iconicwp.com/blog/modify-ajax-variation-threshold/
Thread Starter
Oska
(@oskatalal)
i could work it out by adding :
add_filter( ‘woocommerce_ajax_variation_threshold’, ‘marce_wc_inc_ajax_threshold’ );
function marce_wc_inc_ajax_threshold() {
return 50;
}
Thank you very much!
With Respect,
[ Signature moderated ]
We will add this to the known issues section of the plugin documentation and will open an issue for future tracking, in case a better workaround can be found:
https://github.com/impossibledreams/wc-external-variations/issues/12
Tried following the linked function in this thread but continue to get popup error message:
“WC External Variations: An error has occured, see console”
Is there a console where there is a more specific error message? If so where specifically?
Important to note, the external links works with some products, even products with 200+ variations. But not all products. See code implemented in functions.php below:
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 650;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
That would be the Javascript console in developer tools.
Would you be able to provide a link to the site where this is happening?