Hide quantity picker in cart for specific products

I started selling printables and am looking for a way to hide the quantity picker in the shopping cart. I don’t want the customer to have the ability add more than a quantity of one.

I’ve looked through the discussion boards and have tried several solutions but they did not work for me. I am using the Studio 15.3.1 theme. Any help is greatly appreciated!

2 Likes

@mooncabinshop , you’d need to edit the product.liquid template for that, most likely.

The logic can be either hardcoded (if the product list is static) or you can even link it to a metafield so that you could enable/disable it from the admin area. The solution is too big for the scope of a regular community post though.

Please share your store url and also mention couple of products you want to remove the quantity inbox for

Hi @mooncabinshop

Please share the link to product page that you want to hide quantity picker in cart

This is for the cart page, not the product page (which I’ve already taken care of). I’m trying to see if there’s some sort of if/then statement that will work to hide the quantity picker, which I don’t think is that big.

You should edit one of the following:

/sections/main-cart-items.liquid
templates/cart.liquid

Find the


And change it to something like this:


I hope this helps!

Hi @mooncabinshop

You have to modify the cart-item.liquid, you may have two different files for desktop and mobile both. File names are depending on theme you are using.

For DAWN plz refer the video link below what changes you will hide quantity in cart based on logic.

Hope this will helps…

That worked - thank you so much!

It took a moment but I was able to make it work with the Studio theme.

1 Like