Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add HTML template for payment confirmation e-mail
Anna Siwikb7b31e64feaa
diff --git a/templates/templated_email/html/order/payment/confirm_payment.html b/templates/templated_email/html/order/payment/confirm_payment.htmlnew file mode 100644index 0000000000..b348b8173a--- /dev/null+++ b/templates/templated_email/html/order/payment/confirm_payment.html@@ -0,0 +1,13 @@+{% extends "templated_email/html/base.html" %}+{% load i18n %}++{% block content %}+{% blocktrans context "Payment confirmation email text" %}+<p>Hi!</p>++<p>Thank you for your payment. To see your payment 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/payment/confirm_payment.email b/templates/templated_email/order/payment/confirm_payment.emailindex 6f4b52380b..968a2e73aa 100644--- a/templates/templated_email/order/payment/confirm_payment.email+++ b/templates/templated_email/order/payment/confirm_payment.email@@ -17,3 +17,7 @@ Sincerely,{{ site_name }}{% endblocktrans %}{% endblock %}++{% block html %}+{% include 'templated_email/html/order/payment/confirm_payment.html' %}+{% endblock %}