{% set isActiveMethod = __SELF__.activeMethod.id == method.id %}
{{ method.name }}
{% if method.description %}
{{ method.description | raw }}
{% endif %} {% if isActiveMethod %}
{{ method.renderInstructions(__SELF__.order, __SELF__.cart) | raw }}
{% if method.payment_provider %} {{ __SELF__.renderPaymentForm() | raw }} {% endif %}
{% set customerMethods = __SELF__.customerMethods[method.id] %} {% if customerMethods %}
{% partial __SELF__ ~ '::customermethods' methods=customerMethods %}
{% endif %}
{% set label = __SELF__.order ? 'offline.mall::frontend.payment_method.pay_now' : 'offline.mall::frontend.payment_method.proceed' %}
{% endif %}
{% if not isActiveMethod %} {% endif %}