User Guide

Chapter 9180
Update [ShoppingCart] with data from [SCDisplay] when [button]
is clicked
This contract is primarily intended for the page containing the shopping cart
display element. Within the display element, you can edit quantities and mark
items for removal. When the contract is applied the Shopping Cart element, the
SC Display and a submit button, the shopping cart is updated to reflect the
modifications made in the display element.
Parameters:
None
Participants:
ShoppingCart
ShoppingCart Display
Button (any clickable object)
Update [ShoppingCart] with data from [SCDisplay] when [button]
is clicked and redirect to [pagename]
This contract extends the simple 'Update Cart' contract by including redirection
options. It is intended for the page containing the shopping cart display element.
Within the display element, you can edit quantities and mark items for removal.
When the contract is applied the Shopping Cart element, the SC Display and a
submit button, the shopping cart is updated to reflect the modifications made in
the display element. The pagename parameter allows you to redirect to a specific
page.
Parameters:
Pagename is the destination redirect page after the Cart is updated
Participants:
ShoppingCart
ShoppingCart Display
Button (any clickable object)