All things Shopify and commerce
Hi all, I'm working on a React app that I'll embed into a merchant's product page via an iFrame. Inside the React app, I'd like to create an "Add to Cart" button that'll add products (using their variantIDs) into the cart. I've tried following the Cart API reference to no avail. I also tried hardcoding the request URL with my store (ex. https://storeurl.com/cart/add.js) and got a 404 CORS error.
Has anyone worked on such use-case and is the AJAX API possible with a 3rd-party React app? Any tips in the right direction would be greatly appreciated. Thank you!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025