ShoppingCartDisplayItemCount

ShoppingCartDisplayItemCount determines and displays the number of items in the shopper’s cart.

Configurable properties

Property Default Valid values or format Effect
ShowCartSubtotal
Boolean
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

  1. Add and remove cart items.
  2. Confirm the displayed item count reflects the cart contents.

This site uses Just the Docs, a documentation theme for Jekyll.