How to hide quantity of selected products?

Solved
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
10 0 0

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.!

0 Likes
Highlighted
Shopify Expert
3900 559 936

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.

 

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
10 0 0

Hi 

0 Likes
Highlighted
Shopify Expert
3900 559 936

Its my Pleasure! 

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
New Member
6 0 0

how i can add product ID to this code 


i want to hide quantity on selected product 

thank you

0 Likes
Highlighted
Shopify Expert
3900 559 936

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.

 

Want to modify or custom changes on store hire me.
Want to give Gift for time? its my Paypal too.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes