Hi Joanna,
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
Variation Swathes for Woocomerce – problem with hiding disable swatch
Joanna Bylinska
options unavailable in the store are not hidden, despite the enabled option on swatches settings.
https://www.kolderkowelove.pl/produkt/kokon-hustawka/?attribute_pa_tkanina-gora=biedronki&attribute_pa_kolor-kokonu=antracytowy