Back to Mal's forms page
<<< Clicking on this logo will return you to my Mal's Forms home page.


View the page source!

close

In the top form, we have for every two ordered, one free is added to the order. It works on multiples of two, for every two a free one is added to the cart, so if the quantity is 3 then 1 free is added to the cart, for a quantity of 4, 2 free are added to the cart, for a quantity of 5, 2 free are added to the cart, etc.

You can use this script on an unlimited number of forms on a page as with this page. Only change the form and script number:

A new script per form is needed, so the form action line would change from:

In the script you'll see this line:

var q2 = (q1/2); for one free with a quantity of two use q1/2, for one free with every three use q1/3, for one free with every four use q1/4 as in var q2 = (q1/4);

For every two you buy at $9.99, you get one free!
Quantity:

For every three you buy at $14.99, you get one free!
Quantity:

For every four you buy at $19.99, you get one free!
Quantity: