User Guide
153
9
CHAPTER 9
.............................................................................................................
Shopping Cart Reference
The Drumbeat Shopping Cart consists of two SmartElements and a set of
associated contracts that allow you to capture order information in an on-line
shopping session and submit the information to a database.
The Shopping Cart SmartElement is a JavaScript object that tracks order
information at the session level.
The SCDisplay SmartElement allows you to display the contents of the
Shopping Cart as an HTML table with a variety of formatting options.
Shopping Cart SmartElement
The Shopping Cart SmartElement is a server-side element that appears in the
Drumbeat basement. The Shopping Cart SmartElement can be added to a
Drumbeat page by dragging it onto the design layout like any other element.
The Shopping Cart contracts allow you to carry out various actions on the
Shopping Cart, including adding items to the cart, editing existing cart items, and
submitting cart items to an orders database.