Ask a Question
Back to All

Update cart drawer after adding new item through Javascript

I'm trying to refresh the Smart Cart after adding a new item to the cart using Shopify's AJAX API. However, after the request is completed, the product gets added to the cart, but the Smart Cart doesn't update with the new item.

Is there a method I can call through Javascript to update the Smart Cart after a new item is added? Thanks in advance!