Add referral program invitation and voucher email templates
- Created `referralprogram-invitation.html.twig` for sending invitations to friends to join the referral program. - Created `referralprogram-voucher.html.twig` for notifying users about their voucher after referring a friend. - Both templates include responsive design and utilize the modern email layout. - Added translation support for various text elements within the templates.
This commit is contained in:
88
mails/themes/classic/core/bankwire.html.twig
Normal file
88
mails/themes/classic/core/bankwire.html.twig
Normal file
@@ -0,0 +1,88 @@
|
||||
{% extends '@MailThemes/classic/components/layout.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<tr>
|
||||
<td align="center" class="titleblock">
|
||||
<font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
|
||||
<span class="title">{{ 'Hi {firstname} {lastname},'|trans({}, 'Emails.Body', locale) }}</span><br/>
|
||||
<span class="subtitle">{{ 'Thank you for shopping with {shop_name}!'|trans({}, 'Emails.Body', locale) }}</span>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="border:1px solid #D6D4D4;">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td width="10"> </td>
|
||||
<td>
|
||||
<font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
|
||||
{% if templateType == 'html' %}
|
||||
|
||||
<p style="border-bottom:1px solid #D6D4D4;">
|
||||
{{ 'Order {order_name}'|trans({}, 'Emails.Body', locale) }} - {{ 'Awaiting wire payment'|trans({}, 'Emails.Body', locale)|raw }}
|
||||
</p>
|
||||
|
||||
{% endif %}
|
||||
<span>
|
||||
{{ 'Your order with the reference [1]{order_name}[/1] has been placed successfully and will be [1]shipped as soon as we receive your payment[/1].'|trans({'[1]': '<span><strong>', '[/1]': '</strong></span>'}, 'Emails.Body', locale)|raw }}
|
||||
</span>
|
||||
</font>
|
||||
</td>
|
||||
<td width="10"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="border:1px solid #D6D4D4;">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td width="10"> </td>
|
||||
<td>
|
||||
<font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
|
||||
<p style="border-bottom:1px solid #D6D4D4;">
|
||||
{{ 'You have selected to pay by wire transfer.'|trans({}, 'Emails.Body', locale)|raw }}
|
||||
</p>
|
||||
<span>
|
||||
{{ 'Here are the bank details for your transfer:'|trans({}, 'Emails.Body', locale)|raw }}<br/>
|
||||
<span><strong>{{ 'Amount:'|trans({}, 'Emails.Body', locale)|raw }}</strong></span> {total_paid}<br/>
|
||||
<span><strong>{{ 'Account owner:'|trans({}, 'Emails.Body', locale)|raw }}</strong></span> {bankwire_owner}<br/>
|
||||
<span><strong>{{ 'Account details:'|trans({}, 'Emails.Body', locale)|raw }}</strong></span> {bankwire_details}<br/>
|
||||
<span><strong>{{ 'Bank address:'|trans({}, 'Emails.Body', locale)|raw }}</strong></span> {bankwire_address}<br/>
|
||||
{{ 'Please specify your order reference in the bankwire description.'|trans({}, 'Emails.Body', locale)|raw }}
|
||||
</span>
|
||||
</font>
|
||||
</td>
|
||||
<td width="10"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="linkbelow">
|
||||
<font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
|
||||
<span>
|
||||
{{ 'Follow your order and download your invoice on our shop, go to the <a href="{history_url}" target="_blank">%order_history_label%</a> section of your customer account.'|trans({'%order_history_label%': 'Order history and details'|trans({}, 'Shop.Theme.Customeraccount', locale)}, 'Emails.Body', locale)|raw }}
|
||||
</span>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="linkbelow">
|
||||
<font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
|
||||
<span>
|
||||
{{ 'If you have a guest account, you can follow your order via the <a href="{guest_tracking_url}" target="_blank">%guest_tracking_label%</a> section on our shop.'|trans({'%guest_tracking_label%': 'Guest Tracking'|trans({}, 'Shop.Theme.Customeraccount', locale)}, 'Emails.Body', locale)|raw }}
|
||||
</span>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user