custom/plugins/IabTheme/src/Resources/views/storefront/layout/header/actions/cart-widget.html.twig line 1

Open in your IDE?
  1. {% block layout_header_actions_cart_widget %}
  2.     <span class="header-cart-icon">
  3.         {% sw_icon 'cart' style { namespace: 'IabTheme' } %}
  4.     </span>
  5.     {% if page.cart.lineItems|length > 0 %}
  6.         <span class="badge {{ bgClass }}-primary header-cart-badge">{{ page.cart.lineItems|length }}</span>
  7.     {% endif %}
  8.     <span class="header-cart-total">
  9.         {{ page.cart.price.positionPrice|currency }}{{ "general.star"|trans|sw_sanitize }}
  10.     </span>
  11. {% endblock %}