Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there, I am setting up my wholesale site and I need the quantity selector to start at 6, with incremental increases of 6. I am envisioning this to be a drop down menu. I have the Refresh Theme and am trying to avoid paying $20 a month for an app to do this if possible. Can someone help me figure out how to do this? I have a very basic understanding of coding but will need things spelled out step-by-step.
You need to create a new product template and change the input for quantity. This will require javascript code to change the step. Unfortunately, this is not just a simple solution and you will need to hire someone to write a code for you but you should still be saving money compare to paying $20 per month
Hi @ShowMeTheFunny ,
This seems to easy thing but its not, because your change will impact two places.
1 product page, which is easy you have to perform below task.
1. Set the default value of quantity to 6.
2 set step value of input to 6
3 write script to stop user for manual fill in input as manually user can enter any value.
Note: make sure to create a new template for product.
Now the critical part. You have to perform the same thing at cart page too.
Be careful when you are working on it as we can't make template for cart section.
Make sure your script work for only desired product.
Yes, it is possible with custom code. It will be best if you could hire someone.
Hope it will help...
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025