App reviews, troubleshooting, and recommendations
Hi there,
I am using Shopify's Buy Button JS (https://shopify.github.io/buy-button-js/) to create a customized shopping experience and everything is working as expected except when it comes to the state of the Cart.
When adding products to the Cart using the JS Buy Button, the items are not showing up on the store's theme cart. I was hoping they would be in sync, but it seems a new Checkout ID/instance is created instead making the carts out of sync? (Example: 2 items on the BuyButtonJS Cart, but 0 showing on the Cart on the navigation of my test store)
Is this by design or is the Buy Button JS supposed to keep the store's cart in sync? What am I missing?
Thanks
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