card drawer show amount for free delivery
parent
7aa27be6e2
commit
0e541a9ea6
|
@ -76,6 +76,7 @@
|
|||
{% assign free_shipping_threshold = settings.shx_free_shipping_threshold %}
|
||||
{% assign total_price = cart.total_price %}
|
||||
{% assign remaining_amount = free_shipping_threshold | minus: total_price %}
|
||||
{% assign shipping_costs = settings.shx_shipping_costs %}
|
||||
|
||||
<span>price6 {{ total_price | money }} {{ free_shipping_threshold }}</span>
|
||||
|
||||
|
@ -84,7 +85,7 @@
|
|||
</script>
|
||||
|
||||
{% if total_price < free_shipping_threshold %}
|
||||
<span style="font-size: 14px;">Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst 3)</span>
|
||||
<span style="font-size: 14px;">Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {{ shipping_costs }})</span>
|
||||
{% endif %}
|
||||
|
||||
<cart-drawer-items
|
||||
|
|
Loading…
Reference in New Issue