Cart count template (cart)
Description
Define a Handlebars template used to display content of cart count element used to trigger cart box.
Data passed to template are:
-
icon
- content of cartCount.icon prepended with icon prefix -
label
- content of cartCount.label
Widget contains predefined Handlebars partial templates that can be used:
-
{{>icon-block}}
- display{{icon}}
from data model passed to template -
{{>label-block}}
- display{{label}}
from data model passed to template -
{{>badge-block}}
- display the current number of items in the cart