How can I replace the default quantity selector on specific collections?

Hi there,

I hope someone can help me out here.

I want to be able to remove the quantity selector for a specific collection as I want to set my own.

I have 6 products that has variants; Size, colour, quantity.

Quantity selections are: 1, 5, 10, 20

So I want to be able to use these quantities instead of the standard 1,2,3,etc.

Thank you in advance

Hello Beyrun,

Thank you for reaching out to the Shopify community.

The right way to achieve this would be via product tags as you need to hide quantity buttons only for certain set of products. The next steps here would be:

  1. Add a product tag to identify the products where the quantity button has to be hidden.
  2. Add a custom code in main-product.liquid (can vary based on theme) to hide the quantity buttons based on tags, happy to help if you can help with the theme name and the website URL to have a quick check.

Do let me know if this was helpful.

Sinchain,

Recurpay Subscriptions

Hi @Beyrun

You can create a new template to hide the quantity selector, but the implementation of quantity size dropdowns 1, 5, 10, and 15 will require the custom dev in your theme code.

Because this will not impact only at product page but we have to take this implementation to cart page also.

As the user can also change the quantity on the cart page.

Hope you are getting it…

Thank you for your prompt reply.

How do you add a product tag to identify the products where the quantity button has to be hidden?

Thank you for your prompt reply.

I was told by the support team that my theme doesn’t have the create template option.

My them is: SUPPLY.

We can also custom code this if your theme don’t support template.

I would really appreciate if you can guide me in doing this.

Thank you

Theme: Dawn