Friday 09-05-2008
About Us | Contact Us | FAQ | Support | Links
Coldfusion Custom Tags, CFXs, CFCs, Full Applications and more!
< Built by ColdFusion Developers, for ColdFusion Developers >
Home | Tag Categories | Latest Tags | Top Rated Tags | Top Selling Tags | My Account | Search | Sell Your Tags | Tags A-Z
dcCart

dcCart - Powerful and SIMPLE TO USE shopping cart system
Developer Name: Peter Coppinger
Company Name: Digital Crew
Email Developer Email Developer:
Date Created: Tuesday 23/09/2003
Latest Version: 1.0
Price: $50
License: One Copy per Website.
Encrypted: Yes
Average Rating:
Times Rated: 1
Rate This Tag:


Tag Comments

There are no comments for this tag yet!
 Related ColdFusion Applications
Developers who purchased dcCart also purchased:
  1. UDI - Universal Database Interface Version 3.9
  2. CF_MultiUpload Advanced
  3. CF_CalendarControl
  4. DHTML Outlook Sidebar Navigation V2
  5. CF_WebBoard V2.1 (Cross Browser/Un-Encrypted)
  6. CF_FileManager V3.2 (Cross Browser)
  7. ProLetterFusion V1.7.2 (Unencrypted)
  8. CF_TreeControl
  9. CF_FlashUpload
  10. CFSiteProtect


What Is dcCart?
This simple custom tag contains all the functionality you need to implement a shopping cart system for any ecommerce website. We've used this tag on a number of ecommerce websites (see www.galleryireland.com). It really doesn't get easier than this.

Using <cf_dccart>

Overview

<cf_dccart> is a ColdFusion custom tag providing shopping cart facilities. The cart is manipulated using various actions which are detailed below.

Note: The internal datastructures of the custom tag may change in the future. It is highly inadvisable to write code which is dependant on the internal datastructures used by the cart. To ensure interoperatability with future versions, use the API detailed below. For your own safety, do not hack the cart.

Actions

create

Creates the cart. This action is largely redundant as the cart is automatically created when <cf_dccart> is used if it does not currently exist.

Example:

<cf_dccart action="create">

empty

Emptys all items from the cart.

Example:

<cf_dccart action="empty">

list

Writes a list the ids of items currently in the cart into the variable given in the variable attribute.

Example:

<cf_dccart action="list"
variable="cart_contents">

count

If an item-type is defined with the item attribute, it writes the amount of that item in the cart to the variable given in the variable attribute, otherwise it returns the number of item-types in the cart.

Examples:

<cf_dccart action="count"
item="xj7-ft" variable="no_of_items"> <cf_dccart action="count"
variable="cart_size">

add

Adds one or more instances of an item to the cart. If the amount attribute is not defined, it is presumed that one instance is to be added.

Example:

<!-- Add 10 xj7-ft's to the cart -->
<cf_dccart action="add" amount="10"
item="xj7-ft">
<!-- Add 1 xj7-ft to the cart --> <cf_dccart action="add" item="xj7-ft">

remove

Removes one or more instances of an item from the cart. If the amount attribute is not defined, it is presumed that one instance is to be removed.

Example:

<!-- Remove 10 xj7-ft's from the cart -->
<cf_dccart action="remove" amount="10"
 item="xj7-ft">

<!-- Remove 1 xj7-ft to the cart -->
<cf_dccart action="remove"
item="xj7-ft">

kill

Removes all instances of an item from the cart.

Example:

<!-- Remove all xj7-ft's from the cart -->
<cf_dccart action="kill" item="xj7-ft">



 


 


< Business Strength Coldfusion Custom Tags >
Sitemap | Privacy | Branding | Web Services | Support | Contact Us
PageCLixUid