Skip to content

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

Display tracking information in order details

Mira Szewczyk1676ac513fd6
diff --git a/templates/order/details.html b/templates/order/details.html
index a6eab35c81..0e13a4ffca 100644
--- a/templates/order/details.html
+++ b/templates/order/details.html
@@ -107,7 +107,18 @@
{% endif %}
</tbody>
</table>
+ {% if group.status == 'shipped' %}
+ <div class="panel-footer">
+ {{ group.shipping_method_name }}
+ <span class="pull-right">
+ {% blocktrans with tracking=group.tracking_number %}
+ Tracking number: {{ tracking }}
+ {% endblocktrans %}
+ </span>
+ </div>
+ {% endif %}
</div>
+
{% endfor %}
{% if order.discount_amount %}
<div class="panel panel-default">