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

Disabled Attribute style not working for all products

HI,

I am using the free version of variation swatches on this website:

https://modernfashions.ie/product/ella-boo-trouser-suit-7046-40/

On the above product it is not showing sizes that are out of stock when you click on a colour, eg. Fuchia has only size 14 in stock but they all show as normal until you select the size and then it shows the out of stock message. I have turned off all the caching to see if that’s the problem. But it works fine on other products such as https://modernfashions.ie/product/lizabella-trousers-suit-7231-20/

I checked and they both seem to be set up in the same way. Can you help?

Hi,

Can someone look at this ticket please?

thanks

Breda

Hakik Zaman

Hi Breda,

Thanks for reaching out to us. Please add the snippet using Code Snippets Plugin

add_filter( 'woocommerce_ajax_variation_threshold', 'woo_variation_swatches_global_ajax_variation_threshold_min', 10, 2 );

function woo_variation_swatches_global_ajax_variation_threshold_min( $size, $product ){
return 60;
}

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

Thank You