
Clicking on this logo will return you to this page.
NEW! LIVE Chat with GT! (My online name is I know nothing) if I'm sat at my PC. (Give me around a minute to open the program on my machine.)
Here is a full list of all of the syntax (codes) used in Mals plus Mals FAQ's.
Over the past few years, I along with others have helped countless people in correcting or designing forms for them to use with Mals cart, here are some of them that might help you!!!
With all of these forms, to view the source, simply right click, copy and paste into your html editor, change the ww12 to your server number and don't forget to change the user ID to your own number.
If you need help with any of these forms or, you find one not working correctly, please email me.
Any testing you may do using forms on this page WILL NOT be passed through to any payment processor.
If you would like me to help you with your form, or to design a form for you, please get in touch using the email link above after you've made a donation using the Make A Donation button.
If you would like to make a donation for my time (all money goes the NSPCC).
PayPal charges 30 cents + 2.9% of the total payment. PayPal usage costs will be deducted from your payment when received.
Recent comments from people I've helped...
- Fantastic!!! That is ideal! Thank you very much indeed! (Jan 2012)
- Fantastic! It works! (Jan 2012)
- Thank You Very Much. The code works great. (Dec 2011)
- Ah thank you, looks like I made some elementary mistakes! You've definitely saved me a lot of time! (Dec 2011)
- Many thanks GT, that works great. (Nov 2011)
- That worked!!! You rock and thank you so much. I will donate today. (Nov 2011)
- Perfect. You have created just what I have wanted. (Oct 2011)
- Oh, thank you from the bottom of my heart, Graham! I really appreciate this. I simply did not know how the structure would or should look, and I'm deeply grateful for you taking the time to show me and teach me how it's supposed to be. I wish I had more money to donate, but please know that my gratitude and thankfulness for your help exceeds any amount of money I could possibly give. Thank you and may all the best be yours! (Sep 2011)
- That is perfect!!! Many many thanks for your help :-) (Aug 2011)
- Thank you so much for your help... I have been working on this tiny little form for a couple of days :-D (July 2011)
- Thank you for taking the time to create these scripts as well as for the thorough and patient support. (June 2011)
- Thanks you! Can you tell me what you actually did that made it work - so I know in the future. (June 2011)
- Thanks a lot Graham, all works fine now. (May 2011)
- It works! Last night I kind of had stuff added with commas in between but I think the way you did it is less confusing. Thank you. (May 2011)
- Thanks for getting back to me so quick. That form works perfect! (April 2011)
Click on the image of the form you're interested in, the page with the form on will open in a new window.
CART CONTENTS
Display on your page the cart running total quantity and total cost values on your page. No script modifications are needed.
Send to cart, but stay in the same window this refreshes the page, so removes the qty.
Have the cart contents permanently shown on your page in an i-frame.
DISCOUNTS
News! Discounts
Both individual discount coupons and/or a discount table can now be linked to a single product or a group of products. This is done using the optional scode (SKU) field which can be added to your Buy Now buttons.
When defining a discount coupon or table you can now restrict its use to those products which either equal or start with or end with a particular scode (SKU) value. So for example, you could define the discount as being applied to only products starting with an SKU of 1111. In that case products with an SKU of 1111AAAA and 11113333 will be included in the discount but not 11222.
There are some assumptions made in terms of the logic of how it works, in particular:
- 1. A percentage discount is applied only to the products in the group, not the whole order.
- 2. Free shipping discount on the other hand is applied to the whole order if a match is found.
Here we have a product with various sizes, however the cost price and discount price are the same no matter what size.
A form that works out the total plus computes a discount.
Here we have a discount applied over radio buttons.
Volume discount on total quantity.
Multiple dropdown choices plus a discount.
Here we have a product which is discountable, however there are 2 additional options that aren't discounted.
Multiple items, with different sizes / prices plus a discount applied to the number ordered.
A choice of different selections, the more you buy, the cheaper they are.
A minimum order, plus a discount.
A user entered value plus a discount for the total.
A customer chooses which product via radio buttons plus a discount applied.
Quantity using a dropdown, plus a discount on each.
FORMS WITH VARIABLES/ADD ONS
The most complex form in the World. Yes this is a great form, hats off to David for working endless hours creating the javascript to get this all working.
This running total gets over the issue of sending all of the form contents to the cart, selected or not.
BOGOFF - Buy One Get One Free.
A choice of color added to a product.
Charge per word, perfect for selling advertising space. The client is charged a minimum value and then an amount per word above a number of words.
With this product, any letter is charged at 1.00 each, but only after the first six letters.
Charge per letter a method of charging for each character.
A simple dropdown that when the first selection is made, only products relating to that selection are shown. It can only be used if you have only one form on your 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.
A dropdown that passes the selection with the other options to the cart.
.
A form to multiply using two input variables through text boxes.
Need a calendar for the client to choose a date and time (24 hour clock, worldwide compatible) or an in-date and out-date?
A maximum quantity, used on either a single or multiple product form.
A minimum quantity, used on either a single or multiple product form.
A registration form with mandatory fields, such as name, address, city etc.
A running total, not using a quantity, but using the product through checkboxes.
Three dropdowns for Product, Option and Quantity.
Minimum or maximum quantity of a couple of forms on the same page using productpr for the dropdown and product for the user to order their own quantity.
Force the buyer to choose from selections, the list of dropdowns can be hundreds if needed, the script can be external and various scripts; script1, script2 can be called on for form1, form2 on the same page.
Need some data filling in on the web page before it goes to the cart? Confirm an email address?
Charge per person as the name is entered into a text box. The form only passes the cost through to the cart when the text box changes.
Give the customer the chance to multiple select different options, the only drawback is the quantity they order must equal the number of selections (open to humans getting involved).
Give your customer the chance to add their own message or personalisation. Alternatively, you could use the multiple dropdown using checkboxes (Below).

A multiple dropdown using checkboxes, however the selection isn't shown until the user chooses a checkbox, multiple checkboxes can be selected, variable quantities can be added. No script modification is needed.
Multiple dropdown using radio buttons, a different way of doing a hidden dropdown.
A basic form, this is a straight forward, place your quantity in a box.
Two or more products plus options in one form.![]()
An add on or more for an item.
Here we have T Shirts with different sizes and colors.
A simple single dropdown with options.
A choice of 6 different flavors, or choose all 6 of the same one.
A variation of the above, this time using text boxes for the purchaser to enter their own amount.
2 dropdown choices plus a check box.
Drop down options and a check box, useful for adding additional areas to a dropdown list.
Drop downs plus multiple text boxes, this example is a jewellery web site where the purchaser can choose between various options and add their own personal message.
2 drop downs for ordering either an item or a composite of items.
Options of size plus multiple colors and a text box.
A one off fee in the form of a radio button.
Add a one off fee, this can be used for any "one off" addition to a product.
Charge for text, I think this one is self-explanatory.
A choice of colors for the product, plus a tally carried through to the cart.
Multiple choices plus extra option and quantity.
A dropdown that changes the content of a second dropdown, great if you only want to have certain variations available for a product.
OTHER BITS AND BOBS YOU MIGHT FIND HELPFUL
Returning the viewer to a php page has a slight problem that if, in the return line the is an & sign, this breaks Mals return line, so that symbol needs replacing with a special code.
Return the user to an anchor on your page using either a form or button.
A button that opens the cart in a new window.
A color picker, you could use it for any large variable to reduce your form/page size.
A text counter for use with a text area box or text line, useful so the viewer knows how many more words they can use.
Remove the 256 char limit for the header.
Calculate based on three values
Need a minimum and or a maximum applied over checkboxes.
Minimum or maximum quantity spread over multiple selections.
Information gathering with extra information for the viewer
Return the viewer to the same page without having to fill in a return="www.backtomysite/" value on each page.
Appointment using text boxes and a dropdown.
Ever wanted to send a web page URL via email from your site?
And a donation going straight to payments.
A registration form with 2 priced options.
Got tax on items except for one that is tax free?
One free and straight to payments
Straight to payments, collect customers data with the order...
A validation form where the user has to pick from options.
A gift certificate, free from Tax.
A gift certificate, with various amounts and free from Tax.
A form for the customer to enter their own date for collection and return.
Book an appointment and take payment.
Need to have your customer choose a color?.
Another choice of colors, this time using the minimum order script.



