card drawer show amount for free delivery
parent
9279569ad6
commit
de4d96c972
|
@ -73,14 +73,14 @@
|
|||
|
||||
|
||||
|
||||
{% assign free_shipping_threshold = 10 %}
|
||||
{% assign free_shipping_threshold = 10000 %}
|
||||
{% assign total_price = cart.total_price %}
|
||||
{% assign remaining_amount = free_shipping_threshold | minus: total_price %}
|
||||
|
||||
<span>price5 {{ total_price | money }} {% render 'shx-shipping-costs' %}</span>
|
||||
|
||||
<script>
|
||||
console.log("cart4", {{ cart | json }}, {{ remaining_amount }})
|
||||
console.log("cart5", {{ cart | json }}, {{ remaining_amount }})
|
||||
</script>
|
||||
|
||||
{% if total_price < free_shipping_threshold %}
|
||||
|
|
Loading…
Reference in New Issue