All things Shopify and commerce
I sell wheels and tires. I want people to be able to choose any quantity they want, but 99% of sales are in quantities of 4. How can I make that the default on the quantity selector, but not the minimum, since I am willing to sell 1 or 2, etc
Solved! Go to the solution
This is an accepted solution.
Hi @WheelGuys 👋 this will vary wildly among themes so you just have to dig or hire someone.
Add the value attribute to the quantity:
<input type="number" value="4">
Find either the main templates/product.liquid , or look in sections for something like main-product.liquid or similar and follow the logic to find where the quantity is output.
Sometimes the quantity in in a product.liquid snippet. product-form.liquid , or even quantity.liquid snippet.
And you may need to use logic like {% if product.type == "tire" %} value="4" {% endif %} if selling any other type of product now or in the future.
If you need this customization then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Hi @WheelGuys 👋 this will vary wildly among themes so you just have to dig or hire someone.
Add the value attribute to the quantity:
<input type="number" value="4">
Find either the main templates/product.liquid , or look in sections for something like main-product.liquid or similar and follow the logic to find where the quantity is output.
Sometimes the quantity in in a product.liquid snippet. product-form.liquid , or even quantity.liquid snippet.
And you may need to use logic like {% if product.type == "tire" %} value="4" {% endif %} if selling any other type of product now or in the future.
If you need this customization then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024