URL: http://www.templatehelp.com/preset/cart.php
Description: A shopping cart script. You should use parameters specified in the synopsis for http://www.templatehelp.com/preset/cart.php to let your visitors select and purchase templates, review what they have selected, make necessary modifications or additions to their shopping carts. You should create a preset in the Mytemplatestorage.com affiliate account to get a unique preset identifier (code). Refer to Mytemplatestorage.com User Guide for more detailed information on how to create and manage presets.
Synopsis: http://www.templatehelp.com/preset/cart.php?pr_code=<pr_code>&act=<action>&templ=<template_number1>%20<template_number2>%20<template_number3>
Parameters:
Parameter | Type | Description |
---|---|---|
pr_code | string (30 chars length) | Your MyTemplateStorage preset identifier |
act | string | A parameter that allows to manage a shopping cart.
Acceptable values:
|
templ | list of space separated integers | item number(s) of the template |
Example: To add a template #9000 to the shopping cart you need to use the following script URL: http://www.templatehelp.com/preset/cart.php?pr_code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&act=add&templ=9000
To delete a template #9000 from the shopping cart you need to use the following script URL: http://www.templatehelp.com/preset/cart.php?pr_code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&act=del&templ=9000
To empty a shopping cart (delete all items from the shopping cart) you need to use the following script URL: http://www.templatehelp.com/preset/cart.php?pr_code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&act=empty
To add several templates (#8541, 9632, 1, 4555, and 8523) to the shopping cart you need to use the following script URL:
http://www.templatehelp.com/preset/cart.php?pr_code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&act=add&templ=8541%209632%201%204555%208523
To delete several templates (#8541, 9632) from the shopping cart you need to use the following script URL:
http://www.templatehelp.com/preset/cart.php?pr_code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&act=del&templ=8541%209632
where xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx is your unique preset identifier (code).