How to add an 'Update Cart' button to fix common cart issues?

Topic summary

A user seeks to add an “Update Cart” button to their Shopify store to resolve cart errors that occur when products are edited after being added to a customer’s cart. The current issue causes persistent error messages requiring customers to refresh manually.

Proposed Solution:

  • A developer (Aashish_Bhatt) offers to provide code that can be added to the cart.liquid template file
  • Instructions involve locating a specific class (“cart_footer”) and inserting custom markup

Implementation Challenge:

  • The user reports the button appears but is misaligned (positioned to the right instead of the intended location)
  • They cannot locate the “cart_footer” class referenced in the instructions
  • They are using the Debut theme

Current Status:

  • The discussion remains unresolved
  • The developer offers to provide direct assistance by accessing the store’s code (free of charge)
  • Another user expresses interest in the same solution
  • The original poster has not yet agreed to provide store access for implementation
Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

I’d like to have an “Update Cart” button that refreshes the page and fixes your cart if any issues pop up. I have an issue right now, that when someone has something in their cart, and i edit that product, or i do something to that item, it’ll say there is a problem and to try again, and it continues to say they have that item in the cart, so i’d like for users to have the ability to just refresh their cart, so it gets rid of all problems that can happen.

I’d like it in this area if possible - https://gyazo.com/03f54995f07d56849b0ed7bd1ab98392

Website - iamnewtoyou.com

Yeah that’d work!

Ty , but would u be able to share the code here please? I don’t give anyone permission to code my website

Hi @IamNewtoYou ,

No worries. Thanks for your reply.

Please add below code

Steps:-

→ Open your code editor

→ find cart.liquid template file

→ find the class cart__footer and paste the below code above this element and save

if this solution is helpful for you please like and accept the solution.

Thanks


    

Ty, the button appears, but is at the right of the page offset, not where u circled , and I don’t see a “cart_footer” class, i’m on “cart.liquid” but there isn’t a class for “cart_footer” , im on debut theme aswell, here is how the button is shown with ur code https://gyazo.com/d93d36f0d403997222fb9086c75d813d

HI @IamNewtoYou ,

Thanks for your reply, I’m happy to help you.

The problem you are facing that I need to see the code and for that I need access in your store. I can do this free for you. If you are agree with that we can proceed with code.

Thanks

hello Aashish! are you able to help me put an update cart button on my shop?

PREVIEW