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

Huge number of variants

Hello, thanks for the great plugin. But I have the following problem: If the first attribute (alloy) is selected, not everything should be selectable for the second attribute (fineness). For example, if yellow gold is selected for the alloy, then 600/- platinum should not be selectable for the second attribute. I can’t find the error, even though I’ve been looking for hours. I ask you for support. Thanks very much! Markus

Screenshot 2022-10-24 221138.jpg

Hakik Zaman

Hi Markus,

Thanks for reaching out to us. Please add the below snippet using the Code Snippets plugin or add the following snippet inside your current active 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;
}

Hope to hear from you soon!

Thank You

Good morning,

it works perfectly – thank you!

Best regards,

Markus from Austria