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

Soldout cross stopped working

Jag S

Hello,

This is my website page link >> https://luxurytag.in/product/gucci-gg-black-unisex-belt/

Here few variations are soldout. In theme setting i selected the option to “Blur with cross” it was working fine.

Then i updated the plugin to see it not showing the cross for soldout products. Please check and help.

Thank you.

Hakik Zaman

Hi Jag,

Thanks for reaching out to us. Can you please add the below code inside your child theme?

or, Make a snippet using the Code Snippets plugin and add the below code-

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 works or not.

Thank You

Jag S

Hello.

It not worked.

I dropped a mail mentioning it not working. I got a reply to create a new ticket. So here is the new ticket ID : 114831