0 stock variations
The variations with 0 stock still showing on the sigle product page.
I try this:
function custom_wc_ajax_variation_threshold( $qty, $product ) { return 100; } add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 100, 2 );
But this does nothing
Maybe it's the variable.php theme file we need to adjust?
Like to hear.