App reviews, troubleshooting, and recommendations
I have a theme app extension that allows users to add products to the cart via the AJAX API. How can I open the cart drawer with the updated cart items across all themes after successful AJAX call (I need a generic solution)?
There is no generic solution. This is because the cart drawer is powered by different themes and apps. The only way is to integrate with the callback method of the cart drawer, e.g. trigger the cart drawer update after your app adds a product to the cart. Your best wish is the cart drawer can detect your Ajax API call automatically. But this is again not working most of the time.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025