Skip to content

Instantly share code, notes, and snippets.

View qasim0786's full-sized avatar

Qasim Malik qasim0786

  • Fena.co
  • London
View GitHub Profile
{% assign _is_my_payment_method = false %}
{% for transaction in transactions %}
{% if transaction.gateway == 'Pay By Bank' %}
{% assign _is_my_payment_method = true%}
{% endif%}
{% endfor %}
{% capture email_title %}
{% if _is_my_payment_method == true %}
{% assign _is_my_payment_method = false %}
{% for transaction in transactions %}
{% if transaction.gateway == 'Pay By Bank' %}
{% assign _is_my_payment_method = true%}
{% endif%}
{% endfor %}
{% capture email_title %}
{% if _is_my_payment_method == true %}