card drawer show amount for free delivery
parent
063852e370
commit
f95e6ee4ce
|
@ -78,14 +78,14 @@
|
|||
{% 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>
|
||||
|
||||
<script>
|
||||
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 {{ shipping_costs | money }})</span>
|
||||
<div style="padding: 12px; background-color: #deecde; text-align: center;">
|
||||
<span style="font-size: 14px; color: #4B7046">Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {{ shipping_costs | money }})</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<cart-drawer-items
|
||||
|
|
Loading…
Reference in New Issue