ADD TO CART
Templates are already set to provide the correct commands.
Please take note of the following "add-to-cart" commands in case you wish to
Add to cart Query:
http://yourdomain/path/to/WMCshop.cgi?action=addtocart&itemid=123
*itemid must be a real "item id" previously added to the inventory database
Also see add-to-cart examples using FORMS
Add Quantity (optional)
If you wish to force a quantity from the add-to-cart page/template simply add a field named "qty". For example you could have a box like this (if blank the value will be 1):
Add Options (optional)
You can add options with "option1", "option2", etc.
Sample Link
WMCshop.cgi?action=addtocart&itemid=111&qty=1&option1=hello%2b1.00&option2=byebye
(option 1 will add $1.00. Note that "+" is encoded with "%2b")
Sample Form (drop down)
"PC CONFIGURATOR" - EXAMPLE USING OPTIONS