User Guide
Chapter 9184
Replace [token] in [target] with unique OrderID
This is an activation on a text element that replaces a token in a text element with
the value of an unique OrderID generated by the server. The OrderID is
generated using the SessionID and a timestamp.
Parameters:
Token is the exact case-sensitive text in the text element that will be replaced
with the unique OrderID
Participants:
Target (edit box, etc.)
Do not display [target] if [ShoppingCart] is empty
This contract allows you to hide an element, typically a button or image button,
if the shopping cart is empty. For instance, you can use this technique to hide a
button that links to the check out area of an online store if the shopping cart
is empty.
Parameters:
None
Participants:
Shopping Cart
Target (button, image, text element, form element, etc.)
Replace [token] in [target] with item count from [ShoppingCart]
This interaction replaces a token in a text element with the value of the total of all
items currently in the shopping cart.
Parameters:
Token is the exact case-sensitive text in the text element that will be replaced
with the count of Cart items
Participants:
Shopping Cart
Target (text box, edit box, etc.)