Minicart product count not updating?

Topic summary

A user reports a cart bug on their Shopify site using the Shella theme (v5.0.2): when reducing a product’s quantity to zero, the minicart still displays “1” instead of updating to “0” or removing the item.

Suggested solutions:

  • Use the dedicated “remove” button rather than setting quantity to zero
  • Update Shella to the latest version, which may include bug fixes
  • Modify cart.js or ajax-cart.js to allow quantity = 0 to trigger item removal
  • Contact Shella theme support for an official patch

The issue stems from the theme’s cart script enforcing a minimum quantity of 1. Status: Unresolved; awaiting user action or theme developer intervention.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

Theme: Shella
Version: 5.0.2

I am currently experiencing an issue with the cart functionality on our website https://walkeaze.com/.
While products are being added to the cart correctly, I’ve encountered a problem when attempting to remove items. Specifically, when the quantity of a product is reduced to zero, the cart continues to display a quantity of “1” instead of updating to “0” as expected.

Hello @Umar94

For that we need to check with the code in the product page file.

Or you can show your theme code with the developer and take help for it.

This issue is related to the Shella theme (v5.0.2). The cart script forces a minimum quantity of 1, so reducing it to 0 doesn’t remove the item.

Quick fixes:

  • Use the “remove” button instead of setting qty = 0.

  • Update Shella to the latest version (bug fixes included).

  • If needed, edit the cart.js/ajax-cart.js so qty = 0 removes the product.

Best option: contact Shella support for a direct patch.