Want To Add Extra Images Per Product Variations? Download This Free Plugin

Variation Swatches For WooCommerce PRO – HIDE unavailable options problem

For some reason the extension just stop to hide the Unavailable options by attribute
You can test here in this link
https://dionapro.com/%D0%BF%D1%80%D0%BE%D1%86%D0%B5%D0%B4%D1%83%D1%80%D0%B0-%D1%82%D0%B5%D1%80%D0%B0%D0%BF%D0%B8%D1%8F/%d0%bb%d0%b0%d0%b7%d0%b5%d1%80%d0%bd%d0%b0-%d0%b5%d0%bf%d0%b8%d0%bb%d0%b0%d1%86%d0%b8%d1%8f/

Hakik Zaman

Hi Деян,

Thanks for reaching out to us. You have lots of variation. So, I have added a plugin Code Snippets, and added the snippet “GetWooPlugins Support Threshold”

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

Please check now and let me know if it resolves your issue or not.

Thank You