by Joshua Harms
Thanks to recent changes to the HTTP Cookie SameSite spec, Asp.Net cookies and AntiForgery tokens have stopped working in Shopify embedded apps and iframes.
by Joshua Harms
Shopify has deprecated the first version of their API, necessitating a new major release of ShopifySharp. In this guide, I'll cover everything that's changed from v4 to v5, and some of the potential pitfalls you'll need to look out for.
by Joshua Harms
Polaris is an excellent frontend framework with very good documentation (unlike Shopify's API docs!), but there's one thing in particular they don't document very well: how to get working propertly with React routing packages like Navi or React Router.
by Joshua Harms
Sometimes you need to add custom JavaScript to enable some rich functionality on a Shopify store's product pages. But if you're using a Script Tag to load that JS snippet, you don't get to choose which page the snippet gets loaded on -- it gets loaded on them all. You'll need to use JavaScript to check when the customer is on a product page.
by Joshua Harms
JavaScript can be used to add items to a Shopify cart, remove items, update quantities, set both hidden and visible properties, and even set a note on the cart.