{% sw_extends '@Storefront/storefront/base.html.twig' %}{% block base_head %} {% sw_include '@Storefront/storefront/page/checkout/cart/meta.html.twig' %}{% endblock %}{% block base_main_inner %}<div class="cart_ppage_full"><div class="cart_ppage"> </div><div class="container ip_cart_container"> <div class="ip_cart_parent"> <div class="ip_cart_child_1"> <h1 class="cart-main-header"> {{ "checkout.cartHeader"|trans|sw_sanitize }} </h1> {% for lineItem in page.cart.lineItems %} {% block page_checkout_cart_table_item %} {% block page_checkout_item %} {% sw_include '@Storefront/storefront/page/checkout/cart/custom_cartItems.html.twig' %} {% endblock %} {% endblock %} {% endfor %} {% block page_checkout_cart_shipping_costs %} <div class="col-md-12 cart-shipping-costs-container ip_cart_ship_payment_coun"> <div class="ip_cart_ship_payment_country"> <form name="precalc" method="post" action="{{ path('frontend.checkout.configure') }}" data-form-auto-submit="true"> {% block page_checkout_cart_shipping_costs_csrf %} {{ sw_csrf('frontend.checkout.configure') }} {% endblock %} {% block page_checkout_cart_shipping_costs_trigger %} <h3 class="ip_shiping_heading">{{ "checkout.shippingCosts"|trans|sw_sanitize }}</h3> {% endblock %} {% block page_checkout_cart_shipping_costs_form_group %} <div class="collapse show" id="collapseShippingCost"> {% block page_checkout_cart_shipping_costs_form_group_country %} {% if not context.customer %} <div class="form-group"> <label for="countryId">{{ "checkout.shippingCountry"|trans|sw_sanitize }}</label> <select class="{{ formSelectClass }}" type="text" id="countryId" name="countryId"> {% for country in page.countries %} <option value="{{ country.id }}" {{ country.id == context.shippingLocation.country.id ? 'selected="selected"' : '' }}> {{ country.translated.name }} </option> {% endfor %} </select> </div> {% endif %} {% endblock %} {% block page_checkout_cart_shipping_costs_form_group_payment_method %} <div class="form-group"> <label for="paymentMethodId">{{ "checkout.paymentMethod"|trans|sw_sanitize }}</label> <select class="{{ formSelectClass }}" type="text" id="paymentMethodId" name="paymentMethodId"> {% if context.paymentMethod.id not in page.paymentMethods.ids %} <option value="{{ context.paymentMethod.id }}" selected="selected" disabled="disabled"> {{ context.paymentMethod.translated.name }} {{ "checkout.notAvailableSuffix"|trans|sw_sanitize }} </option> {% endif %} {% for payment in page.paymentMethods %} <option value="{{ payment.id }}" {% if payment.id == context.paymentMethod.id %} selected="selected"{% endif %}> {{ payment.translated.name }} </option> {% endfor %} </select> </div> {% endblock %} {% block page_checkout_cart_shipping_costs_form_group_shipping_method %} <div class="form-group"> <label for="shippingMethodId">{{ "checkout.shippingMethod"|trans|sw_sanitize }}</label> <select class="{{ formSelectClass }}" type="text" id="shippingMethodId" name="shippingMethodId"> {% if context.shippingMethod.id not in page.shippingMethods.ids %} <option value="{{ context.shippingMethod.id }}" selected="selected" disabled="disabled"> {{ context.shippingMethod.translated.name }} {{ "checkout.notAvailableSuffix"|trans|sw_sanitize }} </option> {% endif %} {% for shipping in page.shippingMethods %} <option value="{{ shipping.id }}" {% if shipping.id == context.shippingMethod.id %} selected="selected"{% endif %}> {{ shipping.translated.name }} </option> {% endfor %} </select> </div> {% endblock %} <input type="hidden" name="redirectTo" value="frontend.checkout.cart.page"> </div> {% endblock %} </form> </div> </div>{% endblock %} </div> <div class="ip_cart_child_2"> <img src="{{ asset('bundles/samehfcheckout/logo-white-green.png') }}" class="cart_logo_shop" /> <div class="checkout-aside-summary-ip"> {% sw_include '@Storefront/storefront/page/checkout/summary.html.twig' %} </div> <div class="checkout-aside-action-promotion"> <form action="{{ path('frontend.checkout.promotion.add') }}" class="cart-add-promotion" data-form-csrf-handler="true" method="post"> {{ sw_csrf('frontend.checkout.promotion.add') }} <input type="hidden" name="redirectTo" value="frontend.checkout.cart.page"> <div class="input-group checkout-aside-add-code"> <label class="{{ visuallyHiddenClass }}" for="addPromotionInput"> {{ "checkout.addPromotionLabel"|trans|sw_sanitize }} </label> <input type="text" name="code" class="form-control" id="addPromotionInput" placeholder="{{ "checkout.addPromotionPlaceholder"|trans|striptags }}" aria-label="{{ "checkout.addPromotionLabel"|trans|striptags }}" aria-describedby="addPromotion" required="required"> {# @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' %} </button> {% else %} <div class="input-group-append"> <button class="btn btn-secondary" type="submit" id="addPromotion"> {% sw_icon 'checkmark' %} </button> </div> {% endif %} </div> </form> </div> <div class="checkout-aside-action"> <a href="{{ path('frontend.checkout.confirm.page') }}" class="btn btn-primary btn-block btn-lg begin-checkout-btn" title="{{ "checkout.proceedLink"|trans|striptags }}"> {{ "checkout.proceedLink"|trans|sw_sanitize }} </a> </div> </div> </div></div></div> {% endblock %}