Prestige Theme cart drawer not updating after added item

Im having some issues with the drawer cart not being updated real time when items are being quick added (add to cart button). The added items only show after you’ve updated the window or gone to any of the other pages and I can’t seem to troubleshoot where the error is coming from.

Possibly it’s something in the ajax file not working - maybe?

The website is www.agoodcase.dk


It might also be somewhere else in the coding completely.

Hey @RasmusMKJ can you describe which code was modified?
What was the state of your theme when it was working?

@RasmusMKJ

This code customization work!

Thanks!

Then it might not be this im looking for. If you go to the website and add an item to the basket, you can see that it doesn’t automatically update the drawer untill the window has been updated.

I wish I could, but as it was a 3rd party that poked around in the coding, I really don’t know where it went wrong.

Im hoping it would be a quick look for someone to fix doing some troubleshooting on the cart drawer :grimacing:

@RasmusMKJ

Please change the following code

cartCountSelector: '#CartCount',

Replace to

cartCountSelector: '#sidebar-cart',

It adds to the cart correctly, but it also takes me directly to the cart page every time I add something to it

@RasmusMKJ

Hey,

Actually, this is code customization work Please share your theme zip file I will try to fix your problem and send a correct solution to you.