first commit
This commit is contained in:
20
catalog/view/template/mail/affiliate.twig
Normal file
20
catalog/view/template/mail/affiliate.twig
Normal file
@ -0,0 +1,20 @@
|
||||
{{ text_welcome }}<br/>
|
||||
<br/>
|
||||
{% if not approval %}
|
||||
{{ text_login }}<br/>
|
||||
<br/>
|
||||
{{ login }}<br/>
|
||||
<br/>
|
||||
{{ text_service }}<br/>
|
||||
<br/>
|
||||
{{ text_thanks }}<br/>
|
||||
{{ store }}
|
||||
{% else %}
|
||||
{{ text_approval }}<br/>
|
||||
<br/>
|
||||
{{ login }}<br/>
|
||||
<br/>
|
||||
{{ text_thanks }}<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
||||
{% endif %}
|
18
catalog/view/template/mail/affiliate_alert.twig
Normal file
18
catalog/view/template/mail/affiliate_alert.twig
Normal file
@ -0,0 +1,18 @@
|
||||
{{ text_signup }}<br/>
|
||||
<br/>
|
||||
{% if company %}
|
||||
{{ text_company }} {{ company }}<br/>
|
||||
{% endif %}
|
||||
{% if website %}
|
||||
{{ text_website }} {{ website }}<br/>
|
||||
{% endif %}
|
||||
{{ text_firstname }} {{ firstname }}<br/>
|
||||
{{ text_lastname }} {{ lastname }}<br/>
|
||||
{% if customer_group %}
|
||||
{{ text_customer_group }} {{ customer_group }}<br/>
|
||||
{% endif %}
|
||||
{{ text_email }} {{ email }}<br/>
|
||||
{{ text_telephone }} {{ telephone }}<br/>
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
12
catalog/view/template/mail/forgotten.twig
Normal file
12
catalog/view/template/mail/forgotten.twig
Normal file
@ -0,0 +1,12 @@
|
||||
{{ text_greeting }}<br/>
|
||||
<br/>
|
||||
{{ text_change }}<br/>
|
||||
<br/>
|
||||
{{ reset }}<br/>
|
||||
<br/>
|
||||
{{ text_ip }}<br/>
|
||||
<br/>
|
||||
{{ ip }}<br/>
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
32
catalog/view/template/mail/gdpr.twig
Normal file
32
catalog/view/template/mail/gdpr.twig
Normal file
@ -0,0 +1,32 @@
|
||||
<div style="width: 570px; border: 1px solid #e1e1e1; margin-left: auto; margin-right: auto; border-radius: 4px; padding-top: 5px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px;">
|
||||
<table style="width: 100%; font-size: 16px; border: 0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="text-align: center; border-bottom: 1px solid #ddd; padding-top: 15px; padding-bottom: 15px;">
|
||||
{% if logo %}
|
||||
<a href="{{ store_url }}"><img src="{{ logo }}" alt="{{ store_name }}" title="{{ store_name }}" style="margin-left: auto; margin-right: auto;"/></a>
|
||||
{% else %}
|
||||
<a href="{{ store_url }}">{{ store_name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center; border-bottom: 1px solid #ddd;"><h1>{{ text_request }}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="line-height: 25px;">
|
||||
<p style="margin-bottom: 40px;">{{ text_gdpr }}</p>
|
||||
<p style="margin-bottom: 40px; text-align: center;"><a href="{{ confirm }}" style="border-radius: 4px; color: #fff; text-decoration: none; background-color: #01b3e8; padding-left: 18px; padding-right: 18px; padding-top: 10px; padding-bottom: 10px; font-size: 18px; font-weight: bold;">{{ button_confirm }}</a></p>
|
||||
<p style="margin-bottom: 40px;">{{ text_ignore }}</p>
|
||||
<p>
|
||||
{{ text_thanks }}
|
||||
<br/>
|
||||
<strong>{{ store_name }}</strong>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
36
catalog/view/template/mail/gdpr_delete.twig
Normal file
36
catalog/view/template/mail/gdpr_delete.twig
Normal file
@ -0,0 +1,36 @@
|
||||
<div style="width:570px; border: 1px solid #e1e1e1; margin-left: auto; margin-right: auto; border-radius: 4px; padding-top: 5px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px;">
|
||||
<table style="width:100%; font-size:16px; border:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="text-align: center; border-bottom: 1px solid #ddd; padding-top: 15px; padding-bottom: 15px;">
|
||||
{% if logo %}
|
||||
<a href="{{ store_url }}"><img src="{{ logo }}" alt="{{ store_name }}" title="{{ store_name }}" style="margin-left: auto; margin-right: auto;"/></a>
|
||||
{% else %}
|
||||
<a href="{{ store_url }}">{{ store_name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center; border-bottom: 1px solid #ddd;"><h1>{{ text_request }}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="line-height: 1.8;">
|
||||
<p>{{ text_hello }}</p>
|
||||
<p>{{ text_delete }}</p>
|
||||
<p>{{ text_contact }}</p>
|
||||
<p>
|
||||
<br/>
|
||||
</p>
|
||||
<p style="text-align: center;"><a href="{{ contact }}" style="border-radius: 4px; color: #fff; text-decoration: none; background-color: #01b3e8; padding-left: 18px; padding-right: 18px; padding-top: 10px; padding-bottom: 10px; font-size: 18px; font-weight: bold;">{{ button_contact }}</a></p>
|
||||
<p>
|
||||
{{ text_thanks }}
|
||||
<br/>
|
||||
<strong>{{ store_name }}</strong>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
143
catalog/view/template/mail/order_add.twig
Normal file
143
catalog/view/template/mail/order_add.twig
Normal file
@ -0,0 +1,143 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">
|
||||
<div style="width: 680px;">
|
||||
{% if logo %}
|
||||
<a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ logo }}" alt="{{ store_name }}" style="margin-bottom: 20px; border: none;"/></a>
|
||||
{% else %}
|
||||
<h2><a href="{{ store_url }}" title="{{ store_name }}">{{ store_name }}</a></h2>
|
||||
{% endif %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_greeting }}</p>
|
||||
{% if customer_id %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_link }}</p>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;"><a href="{{ link }}">{{ link }}</a></p>
|
||||
{% endif %}
|
||||
{% if download %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_download }}</p>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;"><a href="{{ download }}">{{ download }}</a></p>
|
||||
{% endif %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;" colspan="2">{{ text_order_detail }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"><b>{{ text_order_id }}</b> {{ order_id }}
|
||||
<br/>
|
||||
<b>{{ text_date_added }}</b> {{ date_added }}
|
||||
<br/>
|
||||
<b>{{ text_payment_method }}</b> {{ payment_method }}
|
||||
<br/>
|
||||
{% if shipping_method %} <b>{{ text_shipping_method }}</b> {{ shipping_method }}{% endif %}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"><b>{{ text_email }}</b> {{ email }}
|
||||
<br/>
|
||||
<b>{{ text_telephone }}</b> {{ telephone }}
|
||||
<br/>
|
||||
<b>{{ text_ip }}</b> {{ ip }}
|
||||
<br/>
|
||||
<b>{{ text_order_status }}</b> {{ order_status }}
|
||||
<br/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% if comment %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_instruction }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ comment }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
{% if payment_address || shipping_address %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
{% if payment_address %}
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_payment_address }}</td>
|
||||
{% endif %}
|
||||
{% if shipping_address %}
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_shipping_address }}</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
{% if payment_address %}
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ payment_address }}</td>
|
||||
{% endif %}
|
||||
{% if shipping_address %}
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ shipping_address }}</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_product }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_model }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_quantity }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_price }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_total }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for product in products %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ product.name }}
|
||||
{% for option in product.option %}
|
||||
<br/>
|
||||
<small> - {{ option.name }}: {{ option.value }}</small>
|
||||
{% endfor %}
|
||||
{% if product.reward %}
|
||||
<br/>
|
||||
<small>{{ text_points }}: {{ product.reward }}</small>
|
||||
{% endif %}
|
||||
{% if product.subscription %}
|
||||
<br/>
|
||||
<small>{{ text_subscription }}: {{ product.subscription }}</small>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ product.model }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ product.quantity }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ product.price }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ product.total }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for voucher in vouchers %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ voucher.description }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"></td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">1</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ voucher.amount }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ voucher.amount }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{% for total in totals %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;" colspan="4"><b>{{ total.title }}:</b></td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ total.text }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tfoot>
|
||||
</table>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_footer }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
37
catalog/view/template/mail/order_alert.twig
Normal file
37
catalog/view/template/mail/order_alert.twig
Normal file
@ -0,0 +1,37 @@
|
||||
{{ text_received }}<br/>
|
||||
<br/>
|
||||
{{ text_order_id }} {{ order_id }}<br/>
|
||||
{{ text_date_added }} {{ date_added }}<br/>
|
||||
{{ text_order_status }} {{ order_status }}<br/>
|
||||
<br/>
|
||||
{{ text_product }}<br/>
|
||||
<br/>
|
||||
{% for product in products %}
|
||||
{{ product.quantity }}x {{ product.name }} ({{ product.model }}) {{ product.total }}<br/>
|
||||
{% if product.option %}
|
||||
{% for option in product.option %}
|
||||
- {{ option.name }} {{ option.value }}<br/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if vouchers %}
|
||||
<br/>
|
||||
{% for voucher in vouchers %}
|
||||
1x {{ voucher.description }} {{ voucher.amount }}<br/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
{{ text_total }}<br/>
|
||||
<br/>
|
||||
{% for total in totals %}
|
||||
{{ total.title }}: {{ total.value }}<br/>
|
||||
{% endfor %}
|
||||
<br/>
|
||||
{% if comment %}
|
||||
{{ text_comment }}<br/>
|
||||
<br/>
|
||||
{{ comment }}<br/>
|
||||
{% endif %}
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
24
catalog/view/template/mail/order_edit.twig
Normal file
24
catalog/view/template/mail/order_edit.twig
Normal file
@ -0,0 +1,24 @@
|
||||
{{ text_order_id }} {{ order_id }}<br/>
|
||||
{{ text_date_added }} {{ date_added }}<br/>
|
||||
<br/>
|
||||
{{ text_order_status }}<br/>
|
||||
<br/>
|
||||
{{ order_status }}<br/>
|
||||
<br/>
|
||||
{% if link %}
|
||||
{{ text_link }}<br/>
|
||||
<br/>
|
||||
{{ link }}<br/>
|
||||
{% endif %}
|
||||
{% if comment %}
|
||||
<br/>
|
||||
{{ text_comment }}<br/>
|
||||
<br/>
|
||||
{{ comment }}<br/>
|
||||
{{ text_footer }}<br/>
|
||||
{% else %}
|
||||
{{ text_footer }}<br/>
|
||||
{% endif %}
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
24
catalog/view/template/mail/order_history.twig
Normal file
24
catalog/view/template/mail/order_history.twig
Normal file
@ -0,0 +1,24 @@
|
||||
{{ text_order_id }} {{ order_id }}<br/>
|
||||
{{ text_date_added }} {{ date_added }}<br/>
|
||||
<br/>
|
||||
{{ text_order_status }}<br/>
|
||||
<br/>
|
||||
{{ order_status }}<br/>
|
||||
<br/>
|
||||
{% if link %}
|
||||
{{ text_link }}<br/>
|
||||
<br/>
|
||||
{{ link }}<br/>
|
||||
{% endif %}
|
||||
{% if comment %}
|
||||
<br/>
|
||||
{{ text_comment }}<br/>
|
||||
<br/>
|
||||
{{ comment }}<br/>
|
||||
{{ text_footer }}<br/>
|
||||
{% else %}
|
||||
{{ text_footer }}<br/>
|
||||
{% endif %}
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
129
catalog/view/template/mail/order_invoice.twig
Normal file
129
catalog/view/template/mail/order_invoice.twig
Normal file
@ -0,0 +1,129 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">
|
||||
<div style="width: 680px;">
|
||||
{% if logo %}
|
||||
<a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ logo }}" alt="{{ store_name }}" style="margin-bottom: 20px; border: none;"/></a>
|
||||
{% else %}
|
||||
<h2><a href="{{ store_url }}" title="{{ store_name }}">{{ store_name }}</a></h2>
|
||||
{% endif %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_greeting }}</p>
|
||||
{% if customer_id %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_link }}</p>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;"><a href="{{ link }}">{{ link }}</a></p>
|
||||
{% endif %}
|
||||
{% if download %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_download }}</p>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;"><a href="{{ download }}">{{ download }}</a></p>
|
||||
{% endif %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;" colspan="2">{{ text_order_detail }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"><b>{{ text_order_id }}</b> {{ order_id }}
|
||||
<br/>
|
||||
<b>{{ text_date_added }}</b> {{ date_added }}
|
||||
<br/>
|
||||
<b>{{ text_payment_method }}</b> {{ payment_method }}
|
||||
<br/>
|
||||
{% if shipping_method %} <b>{{ text_shipping_method }}</b> {{ shipping_method }}
|
||||
{% endif %}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"><b>{{ text_email }}</b> {{ email }}
|
||||
<br/>
|
||||
<b>{{ text_telephone }}</b> {{ telephone }}
|
||||
<br/>
|
||||
<b>{{ text_ip }}</b> {{ ip }}
|
||||
<br/>
|
||||
<b>{{ text_order_status }}</b> {{ order_status }}
|
||||
<br/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% if comment %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_instruction }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ comment }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_payment_address }}</td>
|
||||
{% if shipping_address %}
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_shipping_address }}</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ payment_address }}</td>
|
||||
{% if shipping_address %}
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ shipping_address }}</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_product }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_model }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_quantity }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_price }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_total }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for product in products %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ product.name }}
|
||||
{% for option in product.option %}
|
||||
<br/>
|
||||
<small> - {{ option.name }}: {{ option.value }}</small>
|
||||
{% endfor %}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ product.model }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ product.quantity }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ product.price }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ product.total }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for voucher in vouchers %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ voucher.description }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"></td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">1</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ voucher.amount }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ voucher.amount }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{% for total in totals %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;" colspan="4"><b>{{ total.title }}:</b></td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ total.text }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tfoot>
|
||||
</table>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_footer }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
21
catalog/view/template/mail/register.twig
Normal file
21
catalog/view/template/mail/register.twig
Normal file
@ -0,0 +1,21 @@
|
||||
{{ text_welcome }}<br/>
|
||||
<br/>
|
||||
{% if not approval %}
|
||||
{{ text_login }}<br/>
|
||||
<br/>
|
||||
{{ login }}<br/>
|
||||
<br/>
|
||||
{{ text_service }}<br/>
|
||||
<br/>
|
||||
{{ text_thanks }}<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
||||
{% else %}
|
||||
{{ text_approval }}<br/>
|
||||
<br/>
|
||||
{{ login }}<br/>
|
||||
<br/>
|
||||
{{ text_thanks }}<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
||||
{% endif %}
|
14
catalog/view/template/mail/register_alert.twig
Normal file
14
catalog/view/template/mail/register_alert.twig
Normal file
@ -0,0 +1,14 @@
|
||||
{{ text_signup }}<br/>
|
||||
<br/>
|
||||
{{ text_firstname }} {{ firstname }}<br/>
|
||||
{{ text_lastname }} {{ lastname }}<br/>
|
||||
{% if customer_group %}
|
||||
{{ text_customer_group }} {{ customer_group }}<br/>
|
||||
{% endif %}
|
||||
{{ text_email }} {{ email }}<br/>
|
||||
{% if telephone %}
|
||||
{{ text_telephone }} {{ telephone }}
|
||||
{% endif %}
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
12
catalog/view/template/mail/review.twig
Normal file
12
catalog/view/template/mail/review.twig
Normal file
@ -0,0 +1,12 @@
|
||||
{{ text_waiting }}<br/>
|
||||
<br/>
|
||||
{{ text_product }} {{ product }}<br/>
|
||||
{{ text_reviewer }} {{ reviewer }}<br/>
|
||||
{{ text_rating }} {{ rating }}<br/>
|
||||
<br/>
|
||||
{{ text_review }}<br/>
|
||||
<br/>
|
||||
{{ text }}<br/>
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
99
catalog/view/template/mail/subscription.twig
Normal file
99
catalog/view/template/mail/subscription.twig
Normal file
@ -0,0 +1,99 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">
|
||||
<div style="width: 680px;"><a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ logo }}" alt="{{ store_name }}" style="margin-bottom: 20px; border: none;"/></a>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_greeting }}</p>
|
||||
{% if customer_id %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_link }}</p>
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;"><a href="{{ link }}">{{ link }}</a></p>
|
||||
{% endif %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;" colspan="2">{{ text_subscription_detail }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"><b>{{ text_orders_id }}</b> <a href="{{ order }}">#{{ order_id }}</a>
|
||||
<br/>
|
||||
<b>{{ text_date_added }}</b> {{ date_added }}
|
||||
<br/>
|
||||
<b>{{ text_payment_method }}</b> {{ payment_method }}
|
||||
</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;"><b>{{ text_email }}</b> {{ email }}
|
||||
<br/>
|
||||
<b>{{ text_telephone }}</b> {{ telephone }}
|
||||
<br/>
|
||||
<b>{{ text_ip }}</b> {{ ip }}
|
||||
<br/>
|
||||
<b>{{ text_order_status }}</b> {{ order_status }}
|
||||
<br/>
|
||||
<b>{{ text_description }}</b> {{ description }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% if comment %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_instruction }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ comment }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_payment_address }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ payment_address }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table style="border-collapse: collapse; width: 100%; border-top: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; margin-bottom: 20px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;"><a href="{{ product }}">{{ text_product }}</a></td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: left; padding: 7px; color: #222222;">{{ text_model }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_quantity }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_price }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background-color: #EFEFEF; font-weight: bold; text-align: right; padding: 7px; color: #222222;">{{ text_total }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ name }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left; padding: 7px;">{{ model }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ quantity }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ price }}</td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ total }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{% for total in totals %}
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;" colspan="4"><b>{{ total.title }}:</b></td>
|
||||
<td style="font-size: 12px; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: right; padding: 7px;">{{ total.text }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tfoot>
|
||||
</table>
|
||||
{% if promotion %}{{ promotion }}{% endif %}
|
||||
<p style="margin-top: 0px; margin-bottom: 20px;">{{ text_footer }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
12
catalog/view/template/mail/subscription_alert.twig
Normal file
12
catalog/view/template/mail/subscription_alert.twig
Normal file
@ -0,0 +1,12 @@
|
||||
{{ text_received }}
|
||||
|
||||
{{ text_orders_id }} {{ order_id }}
|
||||
{{ text_subscription_id }} {{ subscription_id }}
|
||||
{{ text_date_added }} {{ date_added }}
|
||||
{{ text_subscription_status }} {{ subscription_status }}
|
||||
|
||||
{% if comment %}
|
||||
{{ text_comment }}
|
||||
|
||||
{{ comment }}
|
||||
{% endif %}
|
12
catalog/view/template/mail/transaction.twig
Normal file
12
catalog/view/template/mail/transaction.twig
Normal file
@ -0,0 +1,12 @@
|
||||
{{ text_received }}<br/>
|
||||
<br/>
|
||||
{{ text_amount }}<br/>
|
||||
<br/>
|
||||
{{ amount }}<br/>
|
||||
<br/>
|
||||
{{ text_total }}<br/>
|
||||
<br/>
|
||||
{{ total }}<br/>
|
||||
<br/>
|
||||
{{ store }}<br/>
|
||||
{{ store_url }}
|
58
catalog/view/template/mail/voucher.twig
Normal file
58
catalog/view/template/mail/voucher.twig
Normal file
@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>{{ title }}</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
color: #000000;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
body, td, th, input, textarea, select, a {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
a, a:visited, a b {
|
||||
color: #378DC1;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#container {
|
||||
width: 680px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
{% if image %}
|
||||
<div style="float: right; margin-left: 20px;"><a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ image }}" alt="{{ store_name }}"/></a></div>
|
||||
{% endif %}
|
||||
<div>
|
||||
<p>{{ text_greeting }}</p>
|
||||
<p>{{ text_from }}</p>
|
||||
{% if message %}
|
||||
<p>{{ text_message }}</p>
|
||||
<p>{{ message }}</p>
|
||||
{% endif %}
|
||||
<p>{{ text_redeem }}</p>
|
||||
<p><a href="{{ store_url }}" title="{{ store_name }}">{{ store_url }}</a></p>
|
||||
<p>{{ text_footer }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user