Customize Notification order confirmation email

Highlighted
New Member
4 0 0

Hi! 

We have a few manual payment methods such as bank deposit, where the customer has to transfer the money to us and send a receipt before we start processing the order. 

We would like to remind them this by including our bank details when choosing this payment method. 

Our coding is extremely basic, can someone help? 

 

Thanks in advance!

0 Likes
Highlighted
Shopify Partner
82 2 3

Hi

You could set it statically in that email but then all your customers would get bank details. Instead you are better off wrapping it around an if statement. Going by the docs https://shopify.dev/docs/themes/liquid/reference/objects/transaction#transaction-payment_details you probably want to try something like this:

{% for transaction in transactions %}
{% if transaction.gateway == "Bank Deposit" %}
<p>Bank details</p>
{% endif %}
{% endfor %}

Let me know if it doesn't work.

Regards

Tom

Over 16 years experience in operating ecommerce businesses.
DM me on here or via message at Channelup
0 Likes