email notification for specific payment method

Paul20
New Member
11 0 0

Hi there,

one of my payment options requires costumers to proactivly copy paste the bank account number / IBAN to their online banking interface. I would like to offer those costumers specific information in the confirmation email.

This payment option is called "Vorkasse per Überweisung" (bank transfer) and should only show to costumers that payed with this payment method.

I never coded but would randomly do something like this. I am completly guessing here :)

{% if unique_gateways == "Vorkasse per Überweisung %}

Please transfer {{ total_price | money_with_currency }} to the following bank account:

Deutsche Bank

IBAN: 123456789

BIC: 123456

Please add the following information as purpose of transfer: {{ order_number }} {{ billing_address.first_name }} {{ billing_address.last_name }}

{% endif %}

Can someone point me to the right coding?

Thank you so much

Best

Paul

 

 

Replies 4 (4)
HymnZ
Shopify Partner
392 6 65

This can guide you - https://help.shopify.com/manual/sell-online/notifications/email-variables

My speciality lies in making Shopify work for your requirements, not the other way round. HMU on email: hymnz@outlook.com or on skype: hymnzzy

If you like my work, consider supporting me :) https://www.buymeacoffee.com/hymnz
Paul20
New Member
11 0 0

Thank you HymnZ,
have been there, but my coding skills are not good enough.

Is my my coding experiment anywhere close?

Best 

Paul

HymnZ
Shopify Partner
392 6 65

Change 

{% if unique_gateways == "Vorkasse per Überweisung %}

to this

{% if order.transactions[0].gateway == "Vorkasse per Überweisung" %} 

My speciality lies in making Shopify work for your requirements, not the other way round. HMU on email: hymnz@outlook.com or on skype: hymnzzy

If you like my work, consider supporting me :) https://www.buymeacoffee.com/hymnz
Paul20
New Member
11 0 0

Great. It works. Thank you so much.

I will try to style it a bit now.