Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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

Solved

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

hacun3jr
Shopify Partner
23 2 19

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
12073 2359 2539

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 & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

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 & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

hacun3jr
Shopify Partner
23 2 19

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
12073 2359 2539

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 & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.