eConstruct ver. 5.0 documentation
For help or questions, please call 1-877-493-2832 or visit us at http://www.cf-acs.com
TAG NAME: CF_eConstruct_SHOPPINGCART
DESCRIPTION: A custom tag, which will display your eConstruct store shopping cart. Allows for product selection removable from the cart, quantity and options modification, selection of shipping choices, recomputes the total if modifications are made, and provides for a 'return to shopping' and 'checkout' button.
IMPORTANT NOTE: This tag is used in conjuction with <cf_eConstruct_v4>. The <cf_eConstruct_v4> must be placed at the top of your Cold Fusion document before the HTML <Head> tag. The tag <cf_eConstruct_shoppingcart> can be placed anywhere in your document after the <cf_eConstruct_v4> tag.
SYNTAX:
<cf_eConstruct_shoppingcart
[border="[yes|no] or [1|0]"]
[borderBgColor=""]
[tableBgColor=""]
[tableTHBgColor=""]
[altRowBgColor=""]
[title=""]
[msg=""]
[returnToShoppinghref="##"]
>
DEFAULTS:
border = "No"
borderBgColor = "white"
tableBgColor = "White"
tableTHBgColor = "Silver"
altRowBgColor = "[same as the tableBgColor]"
title = "Shopping Bag"
msg = "Note: You can click on the 'Checkout' button to finalize your order or continue shopping! To update the quantity or options of your shopping basket, simply adjust your quantities and product options and click on 'Recalculate'. To remove a product from the shopping basket, simply click the trash can next to the product. If applicable, tax will be calculated after we collect your shipping and billing information."
NOTES:
Colors may be entered as named colors (ie. Black, White, etc.) or Hexadecimals. Make sure to use double pounds when entering colors hexadecimal (ie. ##FFFFFF)
ATTRIBUTES:
BORDER - Optional. Possible values are "0", "1", "Yes" or "No". Default is "1". Equivalent to the HTML table tag border attribute.
BORDERBGCOLOR - Optional. Default is "White". Products are displayed inside a color border.
TABLEBGCOLOR - Optional. Default is "White". Equivalent to the HTML table tag bgcolor attribute.
TABLETHBGCOLOR - Optional. Default is "Silver". Used for Style 2. This attribute sets the color used for the field headings.
ALTROWBGCOLOR - Optional. Defaults to the same value as the TABLEBGCOLOR. Provides for an alternating color for rows.
IMAGEBORDER - Optional. Possible values are "0", "1", "Yes" or "No". Default is "No". Equivalent to the HTML IMG border attribute.
TITLE - Optional. Default is "Shopping Bag".
MSG - Optional. Default is "Note: You can click on the 'Checkout' button to finalize your order or continue shopping! To update the quantity or options of your shopping basket, simply adjust your quantities and product options and click on 'Recalculate'. To remove a product from the shopping basket, simply click the trash can next to the product. If applicable, tax will be calculated after we collect your shipping and billing information."
RETURNTOSHOPPINGHREF - Required. Enter the the HREF or URL to use when the user clicks on the 'return to shopping' button.