User Guide

Chapter 9182
Remove all [ShoppingCart] items when [source] is clicked and
redirect to page
This interaction will remove the session variables that are associated with the
shopping cart. It will preserve other session information that you may not want to
destroy when the user removes all the items from the cart.
Note: Note that it is not necessary when doing an insert of the cart contents in the database.
This insert contract has this functionality already built in.
Parameters:
None
Participants:
Shopping Cart
Source (any clickable object such as a button, image, etc.)
Replace [token] in [target] with [Total] from [ShoppingCart]
This interaction replaces a token in a text element with the value of the a order
total value specified in the 'Total' parameter. This allows you to use one contract
to display either the order subtotal, adjusted total or grand total.
Parameters:
DoNotShowIfEmpty allows you to hide the grand total if there are no items
in the cart.
Total specifies which order data total to use in place of the token. This can be
the subtotal, adjusted total, or grand total.
Token is the exact case-sensitive text in the text element that will be replaced
with the Cart grand total
Participants:
Shopping Cart
Target (text box, edit box, etc.)