{% if method.payment_method %} {% set path = __SELF__ ~ '::customermethods/' ~ (method.payment_method.code) %} {% if partial(path) %} {% partial path %} {% endif %} {% endif %}