Skip to content

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

Show customer email if available in the order details dashboard

Marcin Gębalad12325b482b8
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.html
index e67f89dbb9..f6ba0b5e03 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -119,6 +119,8 @@
<p>
{% if order.user %}
<a href="{% url "dashboard:customer-details" pk=order.user.pk %}">{{ order.user }}</a>
+ {% elif order.user_email %}
+ {{ order.user_email }}
{% else %}
{% trans "Guest" context "Anonymous user account value" %}
{% endif %}