User Guide

Shopping Cart Reference 181
Populate [ShoppingCart] with Order from [Recordset] when
[button] is clicked
This contract retrieves an order record and associated order detail records from the
database and populates the shopping cart. The source recordset's query will likely
be based on a view that joins the Orders, OrderDetails, Customers and Product
tables, so that all the relevant display information for the cart can be retrieved.
This allows you to creates the capability for shoppers to modify an existing order if
it has not been shipped. It is assumed that the reocrdset will already be filtered to
the Order record of interest.
Parameters:
Go To Page specifies the target page for redirecting after Cart contents are
retrieved from the database.
Participants:
ShoppingCart
Recordset
Button (any clickable object)
Do not show remove column from [ShoppingCart] in [SCDisplay]
This contract allows you to hide the remove column in the shopping cart display
on a page where you want to display cart contents in a 'read-only' manner. Use
this technique, for instance, on an order confirmation page.
Parameters:
None
Participants:
Shopping Cart
Shopping Cart Display