Added total nr of orders to order.html
This commit is contained in:
parent
8b1b708695
commit
628c5e55c5
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<div class="col-md-push-2 col-md-4 darker" id="items-ordered">
|
||||
<h3>Ordered products:</h3>
|
||||
<h3>Ordered products: {% len(order.items) %}</h3>
|
||||
{% for key, value in order.group_by_product().items() -%}
|
||||
<div class="product">
|
||||
{{ key }}: {{ value["count"] }}
|
||||
|
|
Loading…
Reference in a new issue