card drawer show amount for free delivery
parent
9a4cf4c264
commit
43ac8492b8
|
@ -82,7 +82,7 @@
|
|||
{% endif %}
|
||||
|
||||
<script>
|
||||
console.log("cart27", {{ cart | json }}, {{ remaining_amount }}, {{ free_shipping_threshold }}, {{ progress_percentage }}, {{ total_price }}, {{ free_shipping_threshold }}, {{ total_price | times: 100 | divided_by: free_shipping_threshold }})
|
||||
console.log("cart28", {{ cart | json }}, {{ remaining_amount }}, {{ free_shipping_threshold }}, {{ progress_percentage }}, {{ total_price }}, {{ free_shipping_threshold }}, {{ total_price | times: 100 | divided_by: free_shipping_threshold }})
|
||||
</script>
|
||||
|
||||
<div style="padding: 12px 12px 0 12px; background-color: #deecde; text-align: center;">
|
||||
|
@ -96,6 +96,7 @@
|
|||
|
||||
|
||||
<script>
|
||||
/*
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
console.log("DOMContentLoaded")
|
||||
|
||||
|
@ -125,10 +126,10 @@
|
|||
|
||||
updateProgressBar(newProgressPercentage);
|
||||
});
|
||||
});
|
||||
}); */
|
||||
</script>
|
||||
|
||||
<progress class="shx-shipping-costs-progress" value="0" max="100"></progress>
|
||||
<progress class="shx-shipping-costs-progress" value={{ progress_percentage }} max="100"></progress>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue