Hi, can you help me to hide stock status after selecting variation on single product page (check the screen). I try to make it without css.
I have tried this:
add_filter( 'woocommerce_get_availability_text', '__return_empty_string' );
and
add_filter( 'woocommerce_available_variation', function ( $variation_data ) {
$variation_data['availability_html'] = '';
return $variation_data;
});
It’s not work…