Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-beeclever committed Sep 29, 2024
1 parent 160a5f4 commit 7cb5f35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
15 changes: 7 additions & 8 deletions blocks/cart-summary.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<p class="h6">{{ "cart.total" | t }}</p>
<p class="h6">{{ cart.total_price | money }}</p>
</div>
<div class="flex row space-between">
<p class="small">{{ "cart.vat" | t }}</p>
<div class="flex row right">
<p class="small">
{% if cart.taxes_included %}
{{ "cart.incl_vat" | t }}
Expand All @@ -22,12 +21,12 @@
</p>
</div>
{% if cart.requires_shipping %}
<div class="flex row space-between">
<p class="small">{{ "cart.shipping" | t }}</p>
<p class="small">
{{ "cart.calculated_at_checkout" | t }}
</p>
</div>
<div class="flex row space-between">
<p class="small">{{ "cart.shipping" | t }}</p>
<p class="small">
{{ "cart.calculated_at_checkout" | t }}
</p>
</div>
{% endif %}

{% schema %}
Expand Down
5 changes: 2 additions & 3 deletions locales/en.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
"cart": {
"subtotal": "Subtotal",
"total": "Total",
"vat": "VAT",
"incl_vat": "included",
"excl_vat": "excluded",
"incl_vat": "incl. VAT",
"excl_vat": "excl. VAT",
"shipping": "Shipping",
"calculated_at_checkout": "calculated at checkout"
}
Expand Down

0 comments on commit 7cb5f35

Please sign in to comment.