custom/plugins/ZweiPunktSieber/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 page_checkout_cart_header %}
  3.     <h1 class="cart-main-header">
  4.         {{ "checkout.cartHeader"|trans|sw_sanitize }}
  5.     </h1>
  6. {% endblock %}
  7. {% block page_checkout_cart_action_proceed %}
  8.     {# @deprecated tag:v6.5.0 - Bootstrap v5 removes `btn-block` class, use `d-grid` wrapper instead #}
  9.     {% if feature('v6.5.0.0') %}
  10.         <div class="checkout-aside-action d-grid">
  11.             <a href="{{ path('frontend.checkout.confirm.page') }}"
  12.                class="btn btn-primary btn-lg begin-checkout-btn"
  13.                title="{{ "checkout.proceedLink"|trans|striptags }}">
  14.                 <div class="">
  15.                     <span class="">{{ "checkout.proceedLink"|trans|sw_sanitize }}</span>
  16.                     {% sw_icon 'zp-arrow' style {
  17.                         'size': 'lg',
  18.                         'namespace': 'ZweiPunktSieber',
  19.                         'pack': 'sieber'
  20.                     } %}
  21.                 </div>
  22.             </a>
  23.         </div>
  24.     {% else %}
  25.         <div class="checkout-aside-action">
  26.             <a href="{{ path('frontend.checkout.confirm.page') }}"
  27.                class="btn btn-primary btn-block btn-lg"
  28.                title="{{ "checkout.proceedLink"|trans|striptags }}">
  29.                 <div class="">
  30.                     <span class="">{{ "checkout.proceedLink"|trans|sw_sanitize }}</span>
  31.                     {% sw_icon 'zp-arrow' style {
  32.                         'size': 'lg',
  33.                         'namespace': 'ZweiPunktSieber',
  34.                         'pack': 'sieber'
  35.                     } %}
  36.                 </div>
  37.             </a>
  38.         </div>
  39.     {% endif %}
  40. {% endblock %}
  41. {% block page_checkout_cart_add_promotion_submit %}
  42.     {# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct childs of `input-group` #}
  43.     {% if feature('v6.5.0.0') %}
  44.         <button class="btn btn-secondary"
  45.                 type="submit"
  46.                 id="addPromotion">
  47.             {% sw_icon 'checkmark-circle' %}
  48.         </button>
  49.     {% else %}
  50.         <div class="input-group-append">
  51.             <button class="btn btn-secondary"
  52.                     type="submit"
  53.                     id="addPromotion">
  54.                 {% sw_icon 'checkmark-circle' %}
  55.             </button>
  56.         </div>
  57.     {% endif %}
  58. {% endblock %}
  59. {% block page_checkout_cart_add_product %}
  60.     <div class="col-md-5 cart-add-product-container">
  61.         <form action="{{ path('frontend.checkout.product.add-by-number') }}"
  62.               data-form-csrf-handler="true"
  63.               class="cart-add-product"
  64.               method="post">
  65.             {% block page_checkout_cart_add_product_csrf %}
  66.                 {{ parent() }}
  67.             {% endblock %}
  68.             {% block page_checkout_cart_add_product_redirect %}
  69.                 <input type="hidden"
  70.                        name="redirectTo"
  71.                        value="frontend.checkout.cart.page">
  72.             {% endblock %}
  73.             {% block page_checkout_cart_add_product_input_group %}
  74.                 <div class="input-group">
  75.                     {% block page_checkout_cart_add_product_label %}
  76.                         <label class="{{ visuallyHiddenClass }}" for="addProductInput">
  77.                             {{ "checkout.addProductLabel"|trans|sw_sanitize }}
  78.                         </label>
  79.                     {% endblock %}
  80.                     {% block page_checkout_cart_add_product_input %}
  81.                         <input type="text"
  82.                                name="number"
  83.                                class="form-control"
  84.                                id="addProductInput"
  85.                                placeholder="{{ "checkout.addProductPlaceholder"|trans|striptags }}"
  86.                                aria-label="{{ "checkout.addProductLabel"|trans|striptags }}"
  87.                                aria-describedby="addProductButton"
  88.                                required="required">
  89.                     {% endblock %}
  90.                     {% block page_checkout_cart_add_product_submit %}
  91.                         {# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct childs of `input-group` #}
  92.                         {% if feature('v6.5.0.0') %}
  93.                             <button class="btn btn-secondary"
  94.                                     type="submit"
  95.                                     id="addProductButton">
  96.                                 {% sw_icon 'checkmark-circle' %}
  97.                             </button>
  98.                         {% else %}
  99.                             <div class="input-group-append">
  100.                                 <button class="btn btn-secondary"
  101.                                         type="submit"
  102.                                         id="addProductButton">
  103.                                         {% sw_icon 'checkmark-circle' %}
  104.                                 </button>
  105.                             </div>
  106.                         {% endif %}
  107.                     {% endblock %}
  108.                 </div>
  109.             {% endblock %}
  110.         </form>
  111.     </div>
  112. {% endblock %}