card drawer show amount for free delivery

main
alexanderroese 2024-06-19 09:29:09 +02:00
parent 5a4a32d85f
commit 99fdf6569b
2 changed files with 14 additions and 5 deletions

View File

@ -452,8 +452,17 @@ cart-drawer-items::-webkit-scrollbar-track-piece {
.shx-shipping-costs-progress::-webkit-progress-value {
background: green;
border-radius: 23px;
-webkit-transition: width 5s ease;
-moz-transition: width 5s ease;
-o-transition: width 5s ease;
transition: width 5s ease;
-webkit-transition: width 2s ease;
-moz-transition: width 2s ease;
-o-transition: width 2s ease;
transition: width 2s ease;
}
.shx-shipping-costs-progress::-moz-progress-bar {
background: green;
border-radius: 23px;
-webkit-transition: width 2s ease;
-moz-transition: width 2s ease;
-o-transition: width 2s ease;
transition: width 2s ease;
}

View File

@ -82,7 +82,7 @@
{% endif %}
<script>
console.log("cart22", {{ 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("cart23", {{ 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;">