How can I adjust the quantity selector starting point in Shopify code?

How can I adjust the quantity selector starting point in Shopify code?

umarrasheed
Visitor
1 0 0

Hi , I am Running a Shopify website and Need help related to coding
I am ruuning a wholesale website and I have a quanity selector which start from 1 I want to start it from quanity 3, How can I do through coding where I make changes Currently I am Running Dawn theme

 

Reply 1 (1)

YOD_Solutions
Shopify Partner
277 29 43

I think it is possible to define the minimum quantity by editing your product catalogue. Please see here for more information: https://help.shopify.com/en/manual/b2b/catalogs/quantity-pricing

 

Alternatively, you can edit the "main-product.liquid" file in the sections folder. Search for an input tag with class "quantity__input", and set "data-min", "min" and "value" attributes to "3". If you want to increment the quantity as multiple of three, change the attribute "step" to 3.

Founder @ JsRates: Custom Shipping Rates
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more about JsRates visit the JsRates home page or JsRates documentation
- Find JsRates on Shopify app store