Hi I was wondering on how to remove/hide quantity selector of some of my products? I created an alternative product.liquid and section that I want to hide my quantity from. Can you tell me how to do it? Thanks in adv.!
Solved! Go to the solution
This is an accepted solution.
Hi @estephyyy
You can do it by two way one is create alternative template and second is using tag.
I fyou have create alternative template then you have to find name='quantity' on page and remove or hide this select box and add just bellow:
<input type="hidden" name="quantity" value="1'>
Here you can change default qty in value.
Hi Jasoliya, I manage to hide the code for quantity. All I did was add {comment} tag to the "quantity" to hide the code for it but I wanna say thank you for giving me an idea. Cheers!
You can get product id from admin/products open product and you can see id in URL
If you want to hide qty box form some of product then you have to to make condition on product page.
User | Count |
---|---|
742 | |
143 | |
101 | |
64 | |
45 |