Solved

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

hacun3jr
Shopify Partner
23 2 16

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
7726 1505 1512

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 solution or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now

View solution in original post

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
7726 1505 1512

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 solution or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now

hacun3jr
Shopify Partner
23 2 16

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
7726 1505 1512

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 solution or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now