{% block layout_header_actions_cart_widget %}
<span class="header-cart-icon">
{% sw_icon 'cart' style { namespace: 'IabTheme' } %}
</span>
{% if page.cart.lineItems|length > 0 %}
<span class="badge {{ bgClass }}-primary header-cart-badge">{{ page.cart.lineItems|length }}</span>
{% endif %}
<span class="header-cart-total">
{{ page.cart.price.positionPrice|currency }}{{ "general.star"|trans|sw_sanitize }}
</span>
{% endblock %}