ShoppingCartDisplayItemCount
ShoppingCartDisplayItemCount determines and displays the number of items in the shopper’s cart.
Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
ShowCartSubtotalBoolean | Not specified | true, false | Controls whether the cart subtotal is displayed. |
SitePages.config example
The following example loads ShoppingCartDisplayItemCount.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: ShowCartSubtotal.
<Control src="ShoppingCartDisplayItemCount.ascx" />
Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.
Inherited properties
The control inherits shared visibility and shopper-access conditions from CyberStoreBaseControl.
Validate the control
- Add and remove cart items.
- Confirm the displayed item count reflects the cart contents.