Skip to content

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

Make summary match order details

Patryk Zawadzki9203d0d1e323
diff --git a/saleor/checkout/templates/checkout/summary.html b/saleor/checkout/templates/checkout/summary.html
index fa429d1203..8b281cbfce 100644
--- a/saleor/checkout/templates/checkout/summary.html
+++ b/saleor/checkout/templates/checkout/summary.html
@@ -6,10 +6,12 @@
<h3>{% trans "Billing address" %}</h3>
{% include "userprofile/snippets/address-details.html" with address=checkout.billing_address %}
+ <h3>{% trans "Order details" %}</h3>
+
<table class="table table-striped">
<thead>
<tr>
- <th class="col-sm-4">{% trans "Product" %}</th>
+ <th class="col-sm-4">{% trans "Name" %}</th>
<th class="col-sm-2">{% trans "Price" %}</th>
<th class="col-sm-2">{% trans "Subtotal" %}</th>
<th class="col-sm-2">{% trans "Shipping" %}</th>
diff --git a/saleor/order/templates/order/details.html b/saleor/order/templates/order/details.html
index ed71ec6209..48b437cff6 100644
--- a/saleor/order/templates/order/details.html
+++ b/saleor/order/templates/order/details.html
@@ -21,11 +21,11 @@
{# unless current user is owner of the order. #}
{% if order.user == user %}
- <h2>{% trans "Billing address" %}</h2>
+ <h3>{% trans "Billing address" %}</h3>
{% include "userprofile/snippets/address-details.html" with address=order.billing_address %}
{% endif %}
- <h2>{% trans "Order details" %}</h2>
+ <h3>{% trans "Order details" %}</h3>
<p>{% trans "Status" %}: <span class="label label-default">{{ order.get_status_display }}</span></p>
<table class="table table-striped">
<thead>
@@ -75,7 +75,7 @@
</tbody>
</table>
{% if order.user == user %}
- <h2>{% trans "Payment history" %}</h2>
+ <h3>{% trans "Payment history" %}</h3>
<ul>
{% for payment in payments %}
<li>{{ payment.created|date }} — <span class="label label-default">{{ payment.get_status_display }}</span></li>