card drawer show amount for free delivery

main
alexanderroese 2024-06-19 10:28:14 +02:00
parent 1d7e14b96b
commit 3d2ab64443
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,7 @@
transition: transform var(--duration-default) ease;
}
.drawer__inner-padding {
.shx-drawer__inner-padding {
padding: 0 1.5rem;
}

View File

@ -59,7 +59,7 @@
{%- endif -%}
</div>
{%- endif -%}
<div class="drawer__header">
<div class="drawer__header shx-drawer__inner-padding">
<h2 class="drawer__heading">{{ 'sections.cart.title' | t }}</h2>
<button
class="drawer__close"
@ -82,7 +82,7 @@
{% endif %}
<script>
console.log("cart34", {{ 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("cart35", {{ 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; margin-bottom: 20px; background-color: #deecde; text-align: center;">
@ -99,6 +99,7 @@
{% endif %}
<cart-drawer-items
class="shx-drawer__inner-padding"
{% if cart == empty %}
class=" is-empty"
{% endif %}
@ -475,7 +476,7 @@
<div id="CartDrawer-CartErrors" role="alert"></div>
</form>
</cart-drawer-items>
<div class="drawer__footer drawer__inner-padding">
<div class="drawer__footer shx-drawer__inner-padding">
{%- if settings.show_cart_note -%}
<details id="Details-CartDrawer">
<summary>