Product only sells in 10,20,30,40..etc...

Highlighted
Shopify Expert
9850 97 1611

Side note on the quantity drop down. If you track quantity you should make sure that the customer can not add more items to the cart than what you have. It's nicer to let them know before getting to the cart. There should be exiting posts on the forum to help with that one.

As for the javascript - give it a try. You'll want to check when the drop down has changed and do some math.

Detect change:
http://api.jquery.com/change/

Get value:
http://api.jquery.com/val/

Change html (for price): 
http://api.jquery.com/html/

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
New Member
10 0 0

I don't know anything about javascript. I'm not a code geek and i was struggling with placing a header image with simple html and css. 

Is it a difficult javascript? 

0 Likes
New Member
3 0 0

Hi Jason,

 

I used this coding for my product qty.. but i have 1 product that i need to increase in multiple of 5s.. how to i do a separate coding for just this item?

 

TIA :)

0 Likes