card drawer show amount for free delivery
parent
a79832941c
commit
39a6337828
|
@ -74,14 +74,13 @@
|
|||
|
||||
|
||||
{% render 'shx-config' %}
|
||||
{% assign free_shipping_threshold = 1000 %}
|
||||
{% assign total_price = cart.total_price %}
|
||||
{% assign remaining_amount = free_shipping_threshold | minus: total_price %}
|
||||
|
||||
<span>price6 {{ total_price | money }} {{ free_shipping_threshold }}</span>
|
||||
|
||||
<script>
|
||||
console.log("cart8", {{ cart | json }}, {{ remaining_amount }})
|
||||
console.log("cart9", {{ cart | json }}, {{ remaining_amount }})
|
||||
</script>
|
||||
|
||||
{% if total_price < free_shipping_threshold %}
|
||||
|
|
Loading…
Reference in New Issue