card drawer show amount for free delivery

main
alexanderroese 2024-06-18 23:05:47 +02:00
parent 4b3e79f09c
commit 7aa27be6e2
1 changed files with 2 additions and 2 deletions

View File

@ -80,11 +80,11 @@
<span>price6 {{ total_price | money }} {{ free_shipping_threshold }}</span>
<script>
console.log("cart13", {{ cart | json }}, {{ remaining_amount }}, {{ free_shipping_threshold }})
console.log("cart14", {{ cart | json }}, {{ remaining_amount }}, {{ free_shipping_threshold }})
</script>
{% if total_price < free_shipping_threshold %}
<span style="font-size: 14px;">Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {% settings.shx_shipping_costs %})</span>
<span style="font-size: 14px;">Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst 3)</span>
{% endif %}
<cart-drawer-items