templates/components/shopping_cart.html.twig line 1

Open in your IDE?
  1. <div
  2. {{ attributes }}
  3. data-action="shopping-cart:refresh@window->live#$render"
  4. class="offcanvas-body"
  5. >
  6. {% if this.numberOfItems == 0 %}
  7. <p>Der Warenkorb ist leer.</p>
  8. {% else %}
  9. {% for item in this.cartItems %}
  10. {{ include('@widgets/cart_item.html.twig', {
  11. item: item
  12. }) }}
  13. {% endfor %}
  14. <p class="text-end">
  15. Summe ({{ this.numberOfItems }} Artikel): <span class="fw-bold">{{ this.totalPrice|format_currency('EUR', locale='de') }}</span>
  16. </p>
  17. <p class="text-end">
  18. wiederkehrende Zahlungen: <span class="fw-bold">{{ this.totalRecurringPrice|format_currency('EUR', locale='de') }}</span>
  19. </p>
  20. {% endif %}
  21. </div>