
Chapter 9
188
(AllowMultiples) - Add item from [Recordset] to [ShoppingCart]
when [button] is clicked using quantity from [FormElement]
This is a variation of the "Add item from [Recordset] to [ShoppingCart] when
[button] is clicked using quantity from [FormElement]" contract that allows you
to add the same product more than once to your shopping cart. This is a contract
between a basement Shopping Cart SmartElement, a submit button, a form
element and a Recordset that provides source data to the Shopping Cart. When
the button is clicked, an item corresponding to the current record in the Recordset
is added to the Shopping Cart. With this contract, the quantity for the added item
is the value contained in the Form element. If the form element is empty, the
quantity defaults to one. Parameters for controlling redirection after adding are
described below
Parameters:
Redirect After Adding determines whether you want to redirect after adding
the item or not.
RedirectPage specifies the target page for redirecting after an item is successfully
added to the cart
Participants:
ShoppingCart
Recordset
FormElement (edit box, dropdown list, etc.)
Button (any clickable object)
Содержание DRUMBEAT 2000 ECOMMERCE EDITION
Страница 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Страница 6: ...Contents 6 ...
Страница 12: ...Introduction 12 ...
Страница 90: ...Chapter 2 90 ...
Страница 110: ...Chapter 3 110 ...
Страница 124: ...Chapter 5 124 ...
Страница 142: ...Chapter 7 142 ...
Страница 152: ...Chapter 8 152 ...
Страница 236: ...Chapter 10 236 ...