Skip to content

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

Add note confirmation HTML e-mail

Anna Siwikff510b88d90f
diff --git a/templates/templated_email/html/order/note/confirm_note.html b/templates/templated_email/html/order/note/confirm_note.html
new file mode 100644
index 0000000000..d52026aa67
--- /dev/null
+++ b/templates/templated_email/html/order/note/confirm_note.html
@@ -0,0 +1,13 @@
+{% extends "templated_email/html/base.html" %}
+{% load i18n %}
+
+{% block content %}
+{% blocktrans context "Note confirmation email text" %}
+<p>Hi!</p>
+
+<p>A new note has been added to your order. To see details please visit:
+<br>{{ url }}</p>
+
+<p>This is an automatically generated email, please do not reply.</p>
+{% endblocktrans %}
+{% endblock content %}
diff --git a/templates/templated_email/order/note/confirm_note.email b/templates/templated_email/order/note/confirm_note.email
index 1611fa76a5..48a1ed0d78 100644
--- a/templates/templated_email/order/note/confirm_note.email
+++ b/templates/templated_email/order/note/confirm_note.email
@@ -17,3 +17,7 @@ Sincerely,
{{ site_name }}
{% endblocktrans %}
{% endblock %}
+
+{% block html %}
+{% include 'templated_email/html/order/note/confirm_note.html' %}
+{% endblock %}