User Guide

Shopping Cart Reference 205
Replace [token] in [target] with adjustments total from
[ShoppingCart]
This is an interaction between the ShoppingCart and a text element or edit box
that replaces a token with the sum total of adjustments currently applied to the
cart. This contract simply returns a string representation of a number formatted to
two decimal places. There are no currency symbol options in this contract. This
contract can be used to display the total quantity of discounts that a shopper
received, for instance.
Parameters:
Token is the case sensitive text in the text element to be replaced with the
adjustment total.
Participants:
ShoppingCart
Target text element, edit box
Replace [token] in [target] with number of adjustments from
[ShoppingCart]
This is an interaction between the ShoppingCart and a text element or edit box
that replaces a token with the number of adjustments currently applied to the cart.
This contract simply returns a string representation of a number formatted to two
decimal places. There are no currency symbol options in this contract. This
contract can be used to display the total number of discounts that a shopper
received, for instance.
Parameters:
Token is the case sensitive text in the text element to be replaced with the
adjustment count.
Participants:
ShoppingCart
Target (text element, edit box)