Back to Mal's Forms home page
Show the cart contents on your page
Product discounts
Other Mal's Forms shopping cart forms
Hints and tips to help you
Please view my privacy page about cookies and how to remove them.

Here is a full list of all of the syntax (codes) used in Mal's.
Here are the Mal's faqs.

The latest GT's Mal's Shopping Cart Forms.

With all of these forms simply click the view source button, then right click and copy / paste (don't forget the script if there is one from the body or head area) into your html editor, change the ww12 to your server number and don't forget to change the user ID to your own number and of course the return link.

If you find one of my Mal's forms not working correctly, please contact me.

With this form, you can use the view cart link or button on your page to send the viewer back to the page they were on using Mal's continue shopping button, without having to fill in each page url in the return value field.

We have different products selected from the dropdown list using productpr, we restrict the number that can be added to the cart by using a script in the form itself.


A minimum order value.


Offer a discount based on the total number of hours booked.


Shipping option 8, an external shipping calculator.


calculating based on three dimensions to give a value in cubic inches.


Open the cart in a popup window.


Here we have discounted items, but a fixed discount based on the total number of products ordered.


With Mal's, a problem that can arise, is how do I ship to different post codes if I'm not using UPS or a similar carrier? Now we have a way of doing just that.


With this form, we charge for each quantity of 12 or part of, a packing charge of 7.00.


You may have a situation where you need to have the quantity box filled in, by default, Mal's will give use a quantity of one at the cart, with this form, you force the buyer to enter a number in the qty field.


All the products are passed to Mal's each on its own line, a total number and the discounted price for the total is shown.
All the products are passed to Mal's each on its own line, a total number and the discounted price for the total is shown.


Here we have all of the products passed to the cart but, instead of having each product in its own line, we total all of the prices and so have only one total cost line.


If you have multiple forms on the same page, you need multiple scripts. Here is the answer.


With these forms (one for each number, 4, 8 or 12), we give the buyer either 1, 2 or 3 free of their choice of flavor.With these forms (one for each number, 4, 8 or 12), we give the buyer either 1, 2 or 3 free of their choice of flavor.


Free delivery if the buyer orders more than $100 worth, as the products are different prices, we cannot use discountpr.


We have a running total of the number of dark chocolates selected and the milk ones, plus a total of them together, so the buyer knows if they've reached their total.


If you have a one off or a limited number of stock of a product, once the item is added to the cart, the product quantity value is reduced by one.


This form 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.


We have a maximum length of 6000mm, if the buyer needs a cut longer than, or a total of 4000mm (4 x 1200mm), they are warned and charged for the 6000mm price.


Here we have a form that can be used to book a taxi for a short distance trip or, anything where you need to charge for a long distance trip. This could be shipping for a specific product for example.


With this form, we collect all information and pass it to Mal's in one block. But with this script, we have three sizes plus a font choice plus text lines, all are sent to Mal's on new lines so easy for the buyer and you to identify. This form is ideal if you are printing anything.
With this form, we collect all information and pass it to Mal's in one block. But with this script, we have three sizes plus a font choice plus text lines, all are sent to Mal's on new lines so easy for the buyer and you to identify.


Check the page is used by a human and not a bot.


View the cart contents anywhere on a page.


A page with 48 variables, a paper type, a size and a color. Then after chosing the final variation, you can select the quantity of the product. With each product, there are addons as well. All of this in one small foot print on a page.


Here we have two different submit links, they could be buttons/images; one will add to the cart but return the user to the same page using the 'nocart' attribute. The other submit link sends the buyer straight to the cart.


A dropdown list, that when a product is selected, only shows the options for that product by opening a new div, this div can hold more options, images, anything. You can create an unlimited number of hidden divs on a page. You can use this if you have more than one form on a page.
A dropdown list, that when an option is selected, only shows the options for that product. You can use this if you have more than one form on a page.


Calculate a square footage by the buyer inputting their details in inches, then multiply this square footage by the type and price of a product selected, then multiply this by the quantity they want. You can use this for square metres as well...

Many other features, this script is not free as it took me all day to build.

Calculate a square footage by the buyer inputting their details in inches, then multiply this square footage by the type and price of a product selected, then multiply this by the quantity they want.


Due to people abusing my generous nature over the years, I am now forcing charges. To take a look at your form needs a donation of at least $10.00 / £8.00, to design a new form I need a donation of at least $25.00 / £20.00 before I will start building it. I have had people send me $5/£3/€4 for three hours work!!! That is why I am now charging. You can donate using most major credit cards, you do not need a PayPal account.

If you would like me to help you with your form, or design a form for you, please contact me after you've made a donation using the form below. PayPal charges 30 cents + 2.9% of the total payment. PayPal costs will be deducted from your payment when received by me, so ensure your payment is to the correct value.

 This will be the amount you will be donating:  PayPal

If you would like to make a donation for my time with building the forms you find of use on this site, you can use the link to my charity... NSPCC

A recent script I built had this criteria: