Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add checkout success HTML template for logged users
Anna Siwik65413404329e
diff --git a/templates/order/checkout_success.html b/templates/order/checkout_success.htmlnew file mode 100644index 0000000000..6c60d7afb8--- /dev/null+++ b/templates/order/checkout_success.html@@ -0,0 +1,25 @@+{% extends 'checkout/details.html' %}++{% load bootstrap_form from bootstrap4 %}+{% load staticfiles %}+{% load i18n %}++{% block title %}{% trans "Checkout success" context "Checkout success page title" %} — {{ block.super }}{% endblock %}+++{% block content %}+ <div class="row checkout__thankyoupage">+ <div class="col-xl-10 m-auto">+ <img class="checkout__thankyoupage__parrot" src="{% static 'images/confirm-order-bg.png' %}"+ srcset="{% static 'images/confirm-order-bg.png' %} 1x, {% static 'images/confirm-order-bg2x.png' %} 2x">+ <h1>{% blocktrans trimmed with order_url=order.get_absolute_url context "Checkout title" %}+ Thank you for your <a href="{{ order_url }}">order</a>!+ {% endblocktrans %}</h1>++ <p>{% blocktrans trimmed with order_url=order.get_absolute_url context "Checkout text" %}+ We've sent a confirmation email with details to <span>{{ email }}</span>.<br>+ If any problems or questions contact us.+ {% endblocktrans %}</p>+ </div>+ </div>+{% endblock %}