custom/plugins/MadBodymedTheme/src/Resources/views/storefront/page/checkout/cart/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
  2. {% block base_main_inner %}
  3.     <div class="cart-main-header">
  4.         <div class="container">
  5.             {% sw_icon "cart" style {'pack':'bodymed'} %}
  6.             <h1>
  7.                 {{ "checkout.cartHeader"|trans|sw_sanitize }}
  8.             </h1>
  9.             <div class="cart-main-header-count">
  10.                 {{ "checkout.itemCartPageCounter"|trans({'%count%': page.cart.lineItems|length})|sw_sanitize }}
  11.             </div>
  12.         </div>
  13.     </div>
  14.     {{ parent() }}
  15. {% endblock %}
  16. {% block page_checkout_cart_header %}
  17. {% endblock %}
  18. {% block page_checkout_cart_add_promotion_submit %}
  19.     <div class="input-group-append">
  20.         <button class="btn btn-secondary"
  21.                 type="submit"
  22.                 id="addPromotion">
  23.             {% sw_icon 'checkmark' style {'pack':'bodymed'} %}
  24.         </button>
  25.     </div>
  26. {% endblock %}
  27. {% block page_checkout_cart_table_items %}
  28.     {% for lineItem in page.cart.lineItems %}
  29.         {% block page_checkout_cart_table_item %}
  30.             {% block page_checkout_item %}
  31.                 {% if lineItem.type != 'promotion'  %}
  32.                     {% sw_include '@Storefront/storefront/page/checkout/checkout-item.html.twig' %}
  33.                 {% endif %}
  34.             {% endblock %}
  35.         {% endblock %}
  36.     {% endfor %}
  37.     {% for lineItem in page.cart.lineItems %}
  38.         {% if lineItem.type == 'promotion'  %}
  39.             {% sw_include '@Storefront/storefront/page/checkout/checkout-item.html.twig' %}
  40.         {% endif %}
  41.     {% endfor %}
  42. {% endblock %}
  43. {# @todo einblenden falls der Gutschein wieder ausgebelendet werden soll
  44. {% block page_checkout_cart_add_promotion %}
  45.     <div class="promotion--info">
  46.         {{ "checkout.promotionInfo"|trans|sw_sanitize }}
  47.     </div>
  48. {% endblock %} #}
  49. {# @todo ausblenden falls der Gutschein wieder ausgeblendet werden soll #}
  50. {% block page_checkout_cart_add_promotion_input %}
  51.     {{ parent() }}
  52.     <div class="promotionTooltip">
  53.         {{ "checkout.promotionInfo"|trans|sw_sanitize }}
  54.     </div>
  55. {% endblock %}