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_CARTCONTENTS
DESCRIPTION: A custom tag, which will display the current contents of the shopping cart in two different style or format. This tag will display the number of items in the shopping cart, total cost and a Button to view the shopping cart.
SYNTAX:
<cf_eConstruct_cartcontents
[style="[0|1]"]
[tableBgColor=""]
[viewBaghref="##"]
[target="[frame]"]
>
DEFAULTS:
style = 0
tableBgColor = "White"
font = "arial, helvetica"
fontsize = "2"
fontcolor = "Black"
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:
STYLE - Optional. Possible values are 0 or 1. 0 is the default.
- Style 0 example:
<cf_eConstruct_cartcontents
style=0
tableBgColor="black"
viewBagHREF="myShoppingCart.cfm">Will result in:
Items In Cart: 2 Total: $133.11 ![]()
- Style 1 example:
<cf_eConstruct_cartcontents
style=1
tableBgColor="black"
viewBagHREF="myShoppingCart.cfm">Will result in:
Items In Cart: 2
Total: $133.11
![]()
TABLEBGCOLOR - Optional. Default is "White".
VIEWBAGHREF - Optional. Default is "". The 'View Shopping Bag' button will appear if you provide a value for this attribute. You must provide the CF template name to use in the 'View Shopping Bag' HREF. The template must be in the same folder or directory. The template must reference the <cf_eConstruct_shoppingCart> tag.
TARGET - Optional. Default is "". For use in frames.