Add item to the Shopify cart using the JavaScript Fetch API
Since usage of the Fetch API is growing I’ve started to see a few people having issue with POSTing to AJAX add.js endpoint. If you’re running into 400 (Bad Request) errors you might not have…