User Guide
Chapter 156
View Shopping Cart Contents
The Shopping Cart Display element is used to display the contents of the
shopping cart.
1 From the Element Toolbar, use the Shopping Cart and Display Element
Collection, named BookStoreCartandDisplay, you previously created, and drop
it on the layout.
2 Select the Shopping Cart Display element, right click and choose Attributes.
Position the display at Left 24 and Top 438.
Next, add an update cart button:
1
From Element Toolbar, add a Form Button.
2 Right click the button and choose Attributes. In the Attributes Sheet, set the
attributes following the table below:
3 Scroll the basement to reveal the ShopplingCartObject. Then shift select the
following elements:
Update Button (on page)
ShoppingCartDisplay (on page)
ShoppingCartObject (in Basement)
4 Right click and choose Possible Interactions. Scroll to the eStore Shopping Cart
category and double click the interaction:
Update ShoppingCartObject with data from ShoppingCartDisplay when
UpdateCart is clicked
Attribute Description Set to:
Left Positions button 271
Top Positions button 399
Anchor Sets element as page anchor when
enabled.
Unchecked
Visible Sets button as visible or non-visible. Checked
Style Sets the button style. You can create your
own style in Asset Center.
SC Button Style
Name Names the button for scripting and Point-
and-Click Interactions.
UpdateCart
Label Sets the button label on the layout. Update Cart
Type Sets button type Submit