card drawer show amount for free delivery
parent
793ac3755c
commit
1d7e14b96b
|
@ -19,7 +19,7 @@
|
|||
height: 100%;
|
||||
width: 40rem;
|
||||
max-width: calc(100vw - 3rem);
|
||||
padding: 0 1.5rem;
|
||||
/* padding: 0 1.5rem; */
|
||||
border: 0.1rem solid rgba(var(--color-foreground), 0.2);
|
||||
border-right: 0;
|
||||
overflow: hidden;
|
||||
|
@ -29,6 +29,10 @@
|
|||
transition: transform var(--duration-default) ease;
|
||||
}
|
||||
|
||||
.drawer__inner-padding {
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
|
||||
.drawer__inner-empty {
|
||||
height: 100%;
|
||||
padding: 0 1.5rem;
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
{% endif %}
|
||||
|
||||
<script>
|
||||
console.log("cart33", {{ 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("cart34", {{ 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;">
|
||||
|
@ -475,7 +475,7 @@
|
|||
<div id="CartDrawer-CartErrors" role="alert"></div>
|
||||
</form>
|
||||
</cart-drawer-items>
|
||||
<div class="drawer__footer">
|
||||
<div class="drawer__footer drawer__inner-padding">
|
||||
{%- if settings.show_cart_note -%}
|
||||
<details id="Details-CartDrawer">
|
||||
<summary>
|
||||
|
|
Loading…
Reference in New Issue