Adding and Updating the Shopping Cart
103
Parameters:
Redirect after adding: A toggle that determines whether you want to redirect
after adding the item or not.
NewItemRedirect: Specifies the target page for redirecting after an item is
successfully added to the cart.
Redirect if already in Cart: Toggles whether you want to redirect to a message
page if the selected item is already in the cart.
AlreadyInCartRedirect: Specifies the target page for redirecting if an item is
already in the cart
Displaying Shopping Cart Items on a Page
Now that you have added the Shopping Cart server element and can add items to
the shopping cart, you can add the Shopping Cart Display SmartElement to a
page. You can add the Shopping Cart Display element to the same page where the
shopper adds items or you can redirect the shopper to another page where the
contents of the shopping cart is displayed and managed. To display the items in a
shopping cart the page needs to have both the Shopping Cart server (only visible
in the Drumbeat Basement) and Display SmartElements. The SourceCart
attribute of the display element must be set to the server element.
To add the Shopping Cart Display to a Page:
1
From Asset Center, click Locate Assets and choose SmartElements > Show all
Custom SmartElements, mouse down to the Shopping Cart Display
SmartElement.
2
Drag and drop the element on the page. A static image is displayed in the
layout. Custom SmartElements, like the Shopping Cart Display
SmartElement, only display content at browse-time so an image is used as a
place holder so you can get an idea of how it will look on the page.
3
With the Display element selected, click the Attributes tab and ensure that the
Source Cart attribute has the same name as the Shopping Cart server element
(only visible in the Basement).
If the Shopping Cart server element is not in the Basement, add it now.
Summary of Contents for DRUMBEAT 2000 ECOMMERCE EDITION
Page 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Page 6: ...Contents 6 ...
Page 12: ...Introduction 12 ...
Page 90: ...Chapter 2 90 ...
Page 110: ...Chapter 3 110 ...
Page 124: ...Chapter 5 124 ...
Page 142: ...Chapter 7 142 ...
Page 152: ...Chapter 8 152 ...
Page 236: ...Chapter 10 236 ...