How to remove the default quantity box for certain products in Dawn Theme?

I’m using variants on to choose quantity on certain products because there is a minimum and a discount the more you buy. But now I have two quantity boxes on some products. How can I remove the default quantity box on certain products only?

1 Like

Hi @Crafteecreation

I’m Richard Nguyen from PageFly- Free Landing Page Builder

You can try with this code.

Follow this:

Go to Online Store->Theme->Edit code->base.css ->paste bellow code in bottom of file

.product-form__input.product-form__quantity {

display: none;

}

Hope that my solution works for you.

Best regards,

Richard | PageFly

Hi @Crafteecreation ,

You can hide it from Online store > Themes > Current theme > Customize > click dropdown menu at the top > Products > Default > in left menu, hover on Quantity selector, click on eye icon, click Save button

1 Like

That deletes it from all product and I only want it deleted from certain items.

Will that delete it from all products or just certain ones? I don’t know anything about coding so I wanted to ask before I try since I don’t want it deleted from all products.

You can create another product template for certain items then disable Quantity selector for those items only.

1 Like

@Crafteecreation

yes you have easy to hide this option

can you go to theme customization >>> open any product >>>> left click to Product information >>

just click to Quantity eye icon

Thank you!!

Thank you!

1 Like

I use the method of making a new template then going to the customize and turning off eye ball, but when you go to cart you can still ad quantity. Is there a way to fix this?