card drawer show amount for free delivery

main
alexanderroese 2024-06-19 09:01:53 +02:00
parent 87f192ed98
commit c670d445bf
2 changed files with 3 additions and 1 deletions

View File

@ -417,6 +417,8 @@ cart-drawer-items::-webkit-scrollbar-track-piece {
}
.shx-shipping-costs-progress {
position: relative;
top: -10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;

View File

@ -81,7 +81,7 @@
console.log("cart17", {{ cart | json }}, {{ remaining_amount }}, {{ free_shipping_threshold }})
</script>
<div style="padding: 12px; background-color: #deecde; text-align: center;">
<div style="padding: 12px 12px 0 12px; background-color: #deecde; text-align: center;">
<span span style="font-size: 14px; color: #4B7046">
{% if total_price < free_shipping_threshold %}
Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {{ shipping_costs | money }})