Skip to content

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

Move voucher form below shipping summary

Krzysztof Wolskibe4e132cd9bf
diff --git a/templates/checkout/details.html b/templates/checkout/details.html
index 1c5f769f59..c9d801e706 100644
--- a/templates/checkout/details.html
+++ b/templates/checkout/details.html
@@ -86,8 +86,6 @@
</td>
</tr>
- {% include 'checkout/snippets/voucher-form.html' with discount=checkout.discount form=voucher_form %}
-
<tr>
<td class="noborder">
{% trans "Shipping" %}
@@ -100,7 +98,10 @@
{% endif %}
</td>
</tr>
- {% if total.tax or True %}
+
+ {% include 'checkout/snippets/voucher-form.html' with discount=checkout.discount form=voucher_form %}
+
+ {% if total.tax%}
<tr>
<td class="noborder">
{% trans "Taxes" %}