Removing Woocommerce default product quantity number – need it to be empty

Question

I’m trying to remove the 1 from value placeholder in woocommerce product qty select.
Empty value was working fine just a few hours ago and now it just stopped, title and placeholder work fine, but now value just wont be empty.
How could I fix this? Is there any other way to remove it?

jQuery(function ($){
        if ($("body").hasClass("product-template-default")) {
            $("input.qty").attr('title', 'Kiekis');
            $('input.qty').attr('value','');
            $('input.qty').attr('placeholder','Kiekis');
          }
})
0
Arturas 2 months 0 Answers 11 views 0

Leave an answer