How to hide quantity selector for all products in theme app extensions

Solved
hacun3jr
Shopify Partner
18 2 10

Hello,

 

How do I hide quantity selector for all products in theme app extensions?

 

I am new to development in shopify and for the life of me cant figure out how to hide it programmatically.

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
5371 974 997

This is an accepted solution.

Add an option to select hide quantity and then using CSS code to hide it (but it my won't work for some customized theme, most theme in shopify app store uses element is "quantity-input"Screenshot 2023-10-18 at 09.32.45.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

View solution in original post

Replies 3 (3)
Dan-From-Ryviu
Shopify Partner
5371 974 997

Hi @hacun3jr 

Please check if it has Quantity selector block in your product template customize so you can hide or remove that block 

Screenshot 2023-10-18 at 09.25.01.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

hacun3jr
Shopify Partner
18 2 10

Thank you for the quick response. But how do I hide it from theme app extensions programatically? I want to be able to hide it for the shopify app I am building.

Dan-From-Ryviu
Shopify Partner
5371 974 997

This is an accepted solution.

Add an option to select hide quantity and then using CSS code to hide it (but it my won't work for some customized theme, most theme in shopify app store uses element is "quantity-input"Screenshot 2023-10-18 at 09.32.45.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now