Skip to content

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

Move SKU below product_name

Anna Siwik1ac322da8bfe
diff --git a/saleor/static/dashboard/scss/layouts/_orders.scss b/saleor/static/dashboard/scss/layouts/_orders.scss
index 0d5875dcc6..d1ca788bc2 100644
--- a/saleor/static/dashboard/scss/layouts/_orders.scss
+++ b/saleor/static/dashboard/scss/layouts/_orders.scss
@@ -5,3 +5,7 @@
}
}
}
+
+.sku {
+ color: $grey-color;
+}
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.html
index d7c1659621..23237ee410 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -268,9 +268,6 @@
<th class="wide">
{% trans "Item" context "Shipment group table header" %}
</th>
- <th>
- {% trans "SKU" context "Shipment group table header" %}
- </th>
<th class="right-align">
{% trans "Price" context "Shipment group table header" %}
</th>
@@ -287,9 +284,7 @@
<tr class="last-no-border">
<td>
{{ line.product_name }}<br>
- </td>
- <td>
- {{ line.product_sku }}
+ <span class="sku">{{ line.product_sku }}</span>
</td>
<td class="right-align">
{% gross line.get_price_per_item html=True %}