We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Cart Price is not updating

Why isn't my cart price updating immediately after adding a custom line item?

TechMac-Digital
Shopify Partner
13 0 5

I have added the Custom line item property through Ajax on Add to Cart but the value is not updating in one shot. I need to refresh to update the value on the cart page. Can anyone please look & guide me?

If helpful, please like and accept solution.
Hire Us | if you want to modify or customize your theme |
Website | Whatsapp | Email Us | Skype Id: live:.cid.f22954c88962ecbd
Reply 1 (1)

Tiber
Shopify Partner
31 4 6

The way I do it is on the return of the ajax call, I just auto reload the cart page

window.location.href = '/cart';