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 %}