Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Compiled mjml template

Przemysław Łada90cc11c0c6da
diff --git a/templates/templated_email/compiled/confirm_order.html b/templates/templated_email/compiled/confirm_order.html
index 383c7456ec..fb30a47675 100644
--- a/templates/templated_email/compiled/confirm_order.html
+++ b/templates/templated_email/compiled/confirm_order.html
@@ -104,9 +104,15 @@
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% blocktrans trimmed context "Order confirmation e-mail text" %}
- Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}</div>
+ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% if order_details_url %}
+ {% blocktrans trimmed context "Order confirmation e-mail text with payment details" %}
+ Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
+ {% endblocktrans %}
+ {% else %}
+ {% blocktrans trimmed context "Order confirmation e-mail text" %}
+ Thank you for your order. Below is the list of ordered products.
+ {% endblocktrans %}
+ {% endif %}</div>
</td>
</tr>