{% sw_extends "@Storefront/storefront/page/checkout/cart/index.html.twig" %}{% block page_checkout_cart_shipping_costs %}{% endblock %}{% block page_checkout_cart_action_proceed %} <div class="checkout-aside-action action-checkout-btn"> <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 }} {% sw_icon "arrow-left" style{ "pack":"arrows", "namespace":"TwigelHardTheme" } %} </a> </div>{% endblock %}{% block page_checkout_cart_add_promotion %} <div class="sidebar-actions-wrapper"> {{ parent() }} <div class="col-md-8 cart-shipping-costs-container"> <form name="precalc" method="post" action="{{ path('frontend.checkout.configure') }}" data-form-auto-submit="true"> {% block page_checkout_cart_shipping_costs_csrf %} {{ parent() }} {% endblock %} {% block page_checkout_cart_shipping_costs_trigger %} {{ parent() }} {% endblock %} {% block page_checkout_cart_shipping_costs_form_group %} <div class="collapse" 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="custom-select" 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> {% sw_icon "arrow-down" style{ "pack":"arrows", "namespace":"TwigelHardTheme" } %} </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="custom-select" 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> {% sw_icon "arrow-down" style{ "pack":"arrows", "namespace":"TwigelHardTheme" } %} </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="custom-select" 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> {% sw_icon "arrow-down" style{ "pack":"arrows", "namespace":"TwigelHardTheme" } %} </div> {% endblock %} <input type="hidden" name="redirectTo" value="frontend.checkout.cart.page"> </div> {% endblock %} </form> </div> </div>{% endblock %}