Repeat Cart Region server behavior
The Repeat Cart Region server behavior is applied to the table row (<tr>) that displays the individual items contained in the shopping cart.
The server behavior parses the data containing the shopping cart contents and displays the data for each shopping cart column displayed specific to that item. As you can see, each column contains server-side code that retrieves the specific column data for a given item.
Note: The server-side code for each column is available for insert as display text, or to be bound to the default value of a given form element using the Bindings panel (see Bindings in this section for more information).
The first item in the cart is displayed, and it repeats the code contained in the table row for each additional item currently in the shopping cart.
The server behavior parses the data containing the shopping cart contents and displays the data for each shopping cart column displayed specific to that item. As you can see, each column contains server-side code that retrieves the specific column data for a given item.
Note: The server-side code for each column is available for insert as display text, or to be bound to the default value of a given form element using the Bindings panel (see Bindings in this section for more information).
The first item in the cart is displayed, and it repeats the code contained in the table row for each additional item currently in the shopping cart.
To apply the Repeat Cart Region server behavior:
- In Code view, select the entire table row (<tr>content</tr>) within your display specific to the shopping cart contents line items.
- In the Server Behaviors panel group, click the plus button and select eCart > Cart Display > Repeat Cart Region.
The Repeat Cart Region dialog box opens.
- Select the cart name that corresponds tot he eCart Object specific to the shopping cart implementation for the given display.
- Click OK to apply the server behavior to the page.