cf_cart

Click to Download

Description

Adds a fully customisable shopping cart to your website.
 

Usage

Put at the top of the page that you will be adding or deleting items from the cart. You will need to specify the action that you wish to carry out.

This tag has been built to accomodate multiple updates and deletes as well as line by line edits. More details will be included within this download. You need to have session management set to yes in your application file for this tag to work.

Attributes

quantity Optional The number of items to add or delete from the cart during tag execution. Default is 1
action Optional The action to perform on execution of the cart. Accepted values are "add", "update" and "delete". Default is "add"
allowzero Optional Yes or No. Allows a quantity of 0 in the cart if selected item is deleted. Why anyone would want to do this is beyond me but the facility is here nonetheless! Default is "No".
allowduplicates Optional Allows the same product to be added to the cart. Useful for sites that allow items to be customised.
ID Required The unique ID of the record to be added to the cart.
formlist Required Required if "action" is set to "add". A comma delimited list of the form names to populate the cart.
 

Featured Links