vendor/shopware/storefront/Resources/views/storefront/layout/header/actions/cart-widget.html.twig line 1

  1. {% block layout_header_actions_cart_widget %}
  2.     <span class="header-cart-icon">
  3.         {% sw_icon 'bag' %}
  4.     </span>
  5.     {% if page.cart.lineItems|length > 0 %}
  6.         <span class="badge bg-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 %}