custom/plugins/MolliePayments/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_shipping_costs_form_group_payment_method %}
  3.     <div class="form-group">
  4.         <label for="paymentMethodId">{{ "checkout.paymentMethod"|trans|sw_sanitize }}</label>
  5.         <select class="custom-select" type="text" id="paymentMethodId" name="paymentMethodId">
  6.             {% for payment in page.paymentMethods %}
  7.                 <option value="{{ payment.id }}"
  8.                         {% if payment.id == context.paymentMethod.id %} selected="selected"{% endif %}>
  9.                     {{ payment.translated.name }}
  10.                     {% if "MolliePayments" in payment.handlerIdentifier and page.isMollieTestMode == true %}
  11.                         ({{ "molliePayments.testMode.label"|trans }})
  12.                     {% endif %}
  13.                 </option>
  14.             {% endfor %}
  15.         </select>
  16.     </div>
  17. {% endblock %}
  18. {% block page_checkout_aside_actions %}
  19.     {{ parent() }}
  20.     {% if mollie_applepaydirect_enabled and ('cart' not in mollie_applepaydirect_restrictions) %}
  21.         {% block page_checkout_aside_actions_apple_direct_component %}
  22.             <div class="mt-2 js-apple-pay-container mollie-apple-pay-direct-cart">
  23.                 {% include '@MolliePayments/mollie/component/apple-pay-direct-button.twig' %}
  24.             </div>
  25.         {% endblock %}
  26.     {% endif %}
  27. {% endblock %}