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

color , size variations cant disable

tarek Mo

I want when product page loads if any color variation out of stock it becomes unclickable.

When user select any available color if any size out of stock it becomes unclickable.

When user select color and variation if that color and size product has 3Pcs available it should make 6 pack and 9 pack unclickable

Hakik Zaman

Hi tarek,

Thanks for reaching out to us. Are you using only the free version of the Swatches plugin?

If so, the blur & cross feature will work for up to 30 variations. I have viewed the YouTube link and found you have more than 30 variations.

Did you set the plugin like this- https://paste.pics/QL4Y7?

If so, it will work as you described (for up to 30 variations).

Thank You

tarek Mo

I use pro . I have pro license key: @description

can we please increase variation limit?

Hakik Zaman

Hi tarek,

Please add the following snippet using a plugin called Code Snippets

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 try again and let me know.

Thank You

tarek Mo

i gave you admin access. you can try by yourself as well

Hakik Zaman

Hi tarek,

Login credentials are not working from my side- https://paste.pics/QL5SE

Please revise your login details and also, give me a product link from your site where I can check the described issue.

Hope to hear from you soon.

Thank You

tarek Mo

****

can you please try this pass with same username

Hakik Zaman

Hi tarek Mo,

You have console errors from other plugins- https://paste.pics/QL6FF

Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.

=> See if the problem persists.

=> If the problem is resolved, you will understand which plugin might be the culprit of this error by activating your additional plugins one by one.

Looking forward to hearing from you soon.

Thank you