Hi community!
i have a progress bar in my drawer cart.
it has 3 different steps with values (40€ - 60€ - 80€)
for each step there’s a free shipping option or a gift
when i add products it works but when i remove products from my cart, it doesn’t work properly.
any hints ?
here’s the link to the demo: https://cwwtek4lh4nmghvc-63687557304.shopifypreview.com
here’s the cart-liquid code
{% assign offerProduct = settings.offer-product %}> {% if settings.cart_type == ‘drawer’ %}> >
{% render ‘cart-drawer-empty’%}{% assign collection = collections[settings.drawer_collection] %}> > > {% render ‘collection-grid-drawer’,> collection: collection,> items: collection.products,> quick_shop_enable: true> %}> > {% if settings.drawer_charges != blank or settings.loyalty_text != blank or settings.plante != blank %}>
Gastos de entrega en todo el mundo
{% if settings.drawer_charges != blank %}> {% assign page = settings.drawer_charges %}> > {{ page.content }}> > >
{% endif %}> {% if settings.loyalty_text != blank %}> {% assign page = settings.loyalty_text %}> > {{ page.content }}> > >
{% endif %}> {% if settings.plante != blank %}> {% assign page = settings.plante %}> > {{ page.content }}> > >
{% endif %}>
{% endif %}>{% render ‘cart-drawer-empty’%}> {% comment %}
{{ ‘cart.general.empty’ | t }}>
{% endcomment %}>
{% endif %}>