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

disabled variation dont work

Eyal avitan

Hey I purchased the plugin in order to have a feature that doesnt work on my website for some reason,

I activated the option to hide the unavailable attributes, but it doesnt disable them:

https://www.awesomescreenshot.com/image/47076825?key=99995c85b21c2e5ad964b1b2b97b6a60

 

check this page:

http://myjeans-co-il-arieldev1.s603.upress.link/product/my-super-%d7%94%d7%a2%d7%aa%d7%a7/

size 25/8 is not available in grey and green

Golam Kibria

Hi Eyal,

Please add the following snippet to your child theme’s functions.php file:

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 resolve the issue.

Thank You