- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2022
09:00 AM
09-27-2022
09:00 AM
Condition in order confirmation email
I would like to insert an additional text in the order confirmation email if the payment method Prepayment was selected. How can I apply such a condition in the template?
I am grateful for any advice!
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022
02:14 AM
10-12-2022
02:14 AM
Re: Condition in order confirmation email
In the default template (order_new.html / order_new_guest.html) I found the variable "payment_html" (Payment Details). In case of the payment method Bank Transfer Payment the value for this variable is generated from the field Configuration / Settings / Stores / Payment Methods / Bank Transfer Payment -> Instructions.
So I found a workaround by adding the additional info to this field. However, these are not only displayed in the email, but also by default in the checkout process.