fbpx
Enjoy Year-End Sale: 50% Off All Plugins! Coupon Code: NewYear2025

Crossing Out None Available Variations Not Working

Hi

I can’t get the  plugin to work properly. I have lots of products with over 30 variations and the plugin wont cross out variations that are not available. I have tried to remove the variation completely, and untick the ‘enable’ button. I purchased the pro version, but it doesn’t work, I don’t have the same options as you have on your documentation videos.

Help! I need this to work.

Screenshot 2022-09-24 at 19-21-15 GetWooPlugins Settings ‹ www.thegifthorse.co.uk — WordPress.pngScreenshot 2022-09-24 at 19-21-28 GetWooPlugins Settings ‹ www.thegifthorse.co.uk — WordPress.pngScreenshot 2022-09-24 at 19-21-50 GetWooPlugins Settings ‹ www.thegifthorse.co.uk — WordPress.pngScreenshot 2022-09-24 at 19-22-37 GetWooPlugins Settings ‹ www.thegifthorse.co.uk — WordPress.png

Rezwan Shiblu

Hi there,

Thanks for reaching out to us. Your configuration is perfect.

Please install and activate the Code Snippets plugin and add the below snippet:

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;
}

Then let me know if it resolves your issue or not.

Thank You