Home » Item #612
In the quantity dropdown next to versions, I want it to start at x, and go up in increments of y. Is this possible?
The only config setting to control the quantity dropdown is 'addtobasketdropdownmax', which sets the number of items that are displayed. For more control over the dropdown, you will need to edit the ASP.
Open up front_versiontemplate.asp in the includes directory, and go down to line 72. There you should see this line;
<% for numCounter = 1 toAlter this to;
Application(LICENSENUMBER & "addtobasketdropdownmax") %>
<% for numCounter = x to y Step x %>Where x is the number to start at, y is the number to end with, and z is the increment. So for example;
<% for numCounter = 10 to 50 Step 2 %>Will create a dropdown with values 10, 12, 14, 16... up to 50.