Skip to content

Commit

Permalink
fix: change order of tax and shipping totals in order
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-hulski committed Mar 23, 2022
1 parent ab54323 commit 7e687d5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cartridge/shop/templates/shop/includes/order_totals.html
Expand Up @@ -14,26 +14,26 @@
</label> <span>{{ discount_total|currency }}</span>
</div>
{% endif %}
{% if shipping_type or shipping_total %}
{% if tax_total %}
<div>
<label>
{% if shipping_type %}
{{ shipping_type }}:
{% if tax_type %}
{{ tax_type }}:
{% else %}
{% trans "Shipping" %}:
{% trans "Tax" %}:
{% endif %}
</label> <span>{{ shipping_total|currency }}</span>
</label> <span>{{ tax_total|currency }}</span>
</div>
{% endif %}
{% if tax_total %}
{% if shipping_type or shipping_total %}
<div>
<label>
{% if tax_type %}
{{ tax_type }}:
{% if shipping_type %}
{{ shipping_type }}:
{% else %}
{% trans "Tax" %}:
{% trans "Shipping" %}:
{% endif %}
</label> <span>{{ tax_total|currency }}</span>
</label> <span>{{ shipping_total|currency }}</span>
</div>
{% endif %}
<div class="total"><label>{% trans "Total" %}:</label> <span>{{ order_total|currency }}</span></div>
Expand Down

0 comments on commit 7e687d5

Please sign in to comment.