Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add link from order to product details page
Anna Siwik96cb594b7061
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.htmlindex 3be88a6959..c6a04a9bda 100644--- a/templates/dashboard/order/detail.html+++ b/templates/dashboard/order/detail.html@@ -283,7 +283,12 @@{% for line in group.lines.all %}<tr class="last-no-border"><td>- {{ line.product_name }}<br>+ {% if line.product %}+ <a href="{% url 'dashboard:product-detail' pk=line.product.pk %}">{{ line.product_name }}</a>+ {% else %}+ {{ line.product_name }}+ {% endif %}+ <br><span class="grey-text">{% blocktrans trimmed with sku=line.product_sku context "Shipment group table text" %}SKU: {{ sku }}