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...
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025