Cart drawer progress bar problem - motion theme

Topic summary

A user is experiencing an issue with a progress bar in their cart drawer on the Motion theme. The progress bar has three tiers (€40, €60, €80), each offering free shipping or a gift when reached.

The Problem:

  • Progress bar functions correctly when adding products to cart
  • Malfunctions when removing products from cart

Additional Context:

  • User provided a demo store link for troubleshooting
  • Shared cart-liquid code (appears corrupted/reversed in the post)

The discussion remains open with no responses yet. The user is seeking guidance on fixing the removal functionality.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

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 %}>