Text in order confirmation email that appears only with bank transfert

Shopify Partner
33 0 4

Hey everyone,

 

In my payment methods I've set assigned the manual payment method for bank transferts, "Bonifico bancario" in italian.

 

I'd like some text in the confirmation email to appear only if this payment method was used.

 

Looking at transaction liquid object I see it has a gateway attribute.

transaction.gateway

 

Should I use {% if transaction.gateway = "Bonifico bancario" %} ?

 

Thanks

0 Likes
Shopify Expert
2507 423 532

Hi @quadri 

Yes, you can check payment method in email like  this:

{% if transaction.gateway == "Bonifico bancario" %}
//Your stuff here...
{% endif %}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes