{% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
{% block page_checkout_cart_header %}
<h1 class="cart-main-header">
{{ "checkout.cartHeader"|trans|sw_sanitize }}
</h1>
{% endblock %}
{% block page_checkout_cart_action_proceed %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 removes `btn-block` class, use `d-grid` wrapper instead #}
{% if feature('v6.5.0.0') %}
<div class="checkout-aside-action d-grid">
<a href="{{ path('frontend.checkout.confirm.page') }}"
class="btn btn-primary btn-lg begin-checkout-btn"
title="{{ "checkout.proceedLink"|trans|striptags }}">
<div class="">
<span class="">{{ "checkout.proceedLink"|trans|sw_sanitize }}</span>
{% sw_icon 'zp-arrow' style {
'size': 'lg',
'namespace': 'ZweiPunktSieber',
'pack': 'sieber'
} %}
</div>
</a>
</div>
{% else %}
<div class="checkout-aside-action">
<a href="{{ path('frontend.checkout.confirm.page') }}"
class="btn btn-primary btn-block btn-lg"
title="{{ "checkout.proceedLink"|trans|striptags }}">
<div class="">
<span class="">{{ "checkout.proceedLink"|trans|sw_sanitize }}</span>
{% sw_icon 'zp-arrow' style {
'size': 'lg',
'namespace': 'ZweiPunktSieber',
'pack': 'sieber'
} %}
</div>
</a>
</div>
{% endif %}
{% endblock %}
{% block page_checkout_cart_add_promotion_submit %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct childs of `input-group` #}
{% if feature('v6.5.0.0') %}
<button class="btn btn-secondary"
type="submit"
id="addPromotion">
{% sw_icon 'checkmark-circle' %}
</button>
{% else %}
<div class="input-group-append">
<button class="btn btn-secondary"
type="submit"
id="addPromotion">
{% sw_icon 'checkmark-circle' %}
</button>
</div>
{% endif %}
{% endblock %}
{% block page_checkout_cart_add_product %}
<div class="col-md-5 cart-add-product-container">
<form action="{{ path('frontend.checkout.product.add-by-number') }}"
data-form-csrf-handler="true"
class="cart-add-product"
method="post">
{% block page_checkout_cart_add_product_csrf %}
{{ parent() }}
{% endblock %}
{% block page_checkout_cart_add_product_redirect %}
<input type="hidden"
name="redirectTo"
value="frontend.checkout.cart.page">
{% endblock %}
{% block page_checkout_cart_add_product_input_group %}
<div class="input-group">
{% block page_checkout_cart_add_product_label %}
<label class="{{ visuallyHiddenClass }}" for="addProductInput">
{{ "checkout.addProductLabel"|trans|sw_sanitize }}
</label>
{% endblock %}
{% block page_checkout_cart_add_product_input %}
<input type="text"
name="number"
class="form-control"
id="addProductInput"
placeholder="{{ "checkout.addProductPlaceholder"|trans|striptags }}"
aria-label="{{ "checkout.addProductLabel"|trans|striptags }}"
aria-describedby="addProductButton"
required="required">
{% endblock %}
{% block page_checkout_cart_add_product_submit %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct childs of `input-group` #}
{% if feature('v6.5.0.0') %}
<button class="btn btn-secondary"
type="submit"
id="addProductButton">
{% sw_icon 'checkmark-circle' %}
</button>
{% else %}
<div class="input-group-append">
<button class="btn btn-secondary"
type="submit"
id="addProductButton">
{% sw_icon 'checkmark-circle' %}
</button>
</div>
{% endif %}
{% endblock %}
</div>
{% endblock %}
</form>
</div>
{% endblock %}