Cart not updating after quantity change - Empire Theme

Topic summary

Main issue: After updating to the latest Empire theme, changing item quantities in the cart doesn’t reliably update before checkout.

Key observations:

  • Pressing Enter after typing a new quantity navigates to checkout without applying the change; expected behavior is to update quantity and remain on the cart page.
  • Typing a quantity and clicking Checkout: first click does nothing; second click proceeds with updated totals.
  • One store upgraded from v8→v11 works; another from v7→v11 fails. Empire.js.liquid differs between them.
  • An app developer noted the change.js (cart change event) isn’t triggering on quantity change.

Technical context:

  • Empire.js.liquid: theme JavaScript controlling cart behavior.
  • change.js / AJAX requests: scripts/events that update cart asynchronously.

Suggestions provided:

  • Check browser console for JavaScript errors; review theme files and event handlers; verify AJAX calls; test app compatibility; clear cache and try other browsers.
  • Contact the paid theme’s developer for support; or locate and debug the function handling quantity updates.

Status: No resolution yet; troubleshooting and theme developer escalation recommended.

Summarized with AI on December 25. AI used: gpt-5.

We have just updated our theme to the latest version, and the quantity change on checkout is no longer working.

I have disabled the +/-, and can key in a new qty. But on ‘enter’, we are taken to the checkout page WITHOUT the new qty.

ENTER should trigger a chg qty and update the page, staying on the CART page.

Strangely, if I key a new qty WITHOUT Enter, but hit the Checkout button - at first nothing happens. But when I hit the Checkout button a second time, I am taken the the Checkout page WITH the new qty and recalculated totals.

We have two websites that I have just updated - on one it is working. The other it is not. The one that is was upgraded from version 8 to 11, the one that isn’t was upgraded from version 7 to 11.

The Empire.js.liquid files seem to use different sections for both and so I can’t just update.

We do use apps in both, and one of my app developers said the API change.js is not triggering on the change qty, but not sure where to go beyond that

(ps my liquid knowledge is sketchey)

Hi,

Here are the steps you can follow

Inspect javaScript console for errors
Review theme files
Check event handlers
Check AJAX requests
If you are using app then check the compatible
Clear cache and check in different browsers

If you still need help you can contact us

1 Like

Hi @AB_OWA The best and easy option through which you can solve this issue is to connect with the theme developer, as you are using the paid theme so they will help you in this issue, you can explain the entire scenario and hopefully with some few tweaks they will be able to address your issue.

If you want to do it your end then you need to look into the function that is performing this task and after that find the exact issue by consoling the same.

If you wanted to do it yourself and unable to achieve the same then I would love to do it for you.

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

Best Regards

Sahil

1 Like