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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  2. {% block layout_header_actions_cart_widget %}
  3.     <span class="header-cart-icon">
  4.         {% sw_icon 'bag' %}
  5.     </span>
  6.     {% if page.cart.lineItems|length > 0 %}
  7.         <span class="badge {{ bgClass }}-primary header-cart-badge">{{ page.cart.lineItems|length }}</span>
  8.     <span class="header-cart-total">
  9.         {{ page.cart.price.positionPrice|currency }}{{ "general.star"|trans|sw_sanitize }}
  10.     </span>
  11.     {% endif %}
  12. {% endblock %}