Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Link to user account in order details
Marcin Gębala6cecdcb116a3
diff --git a/saleor/dashboard/templates/dashboard/order/detail.html b/saleor/dashboard/templates/dashboard/order/detail.htmlindex adbfd85350..af2ec9f722 100644--- a/saleor/dashboard/templates/dashboard/order/detail.html+++ b/saleor/dashboard/templates/dashboard/order/detail.html@@ -148,7 +148,11 @@</div><div class="panel-body"><div class="address">- <div>Account: {{ order.user|default:"Anonymous" }}</div>+ {% if order.user %}+ <div>Account: <a href="{% url "dashboard:customer-details" pk=order.user.pk %}">{{ order.user }}</a></div>+ {% else %}+ <div>Account: Anonymous</div>+ {% endif %}<div><span class="glyphicon glyphicon-envelope"></span>{{ order.get_user_email }}