gil-- / gatsby-starter-shopifypwa

💚:shopping_cart:💚 Bodega is a Shopify PWA using Gatsby JS + Netlify CMS
https://bodega.netlify.com
MIT License
103 stars 9 forks source link

addtocart checkout mutation #29

Closed gil-- closed 5 years ago

gil-- commented 5 years ago

Wanted to get an example mutation using the Apollo client plugin. This actually will add the variantID meaning, variant selections + quantity all work. 😄

Just need to refactor into initial checkout instance mutation, add line item mutation, and then go to cart page. For another day...

gil-- commented 5 years ago

New code got a rating of A? Hell yea 🤜 🤛

codeclimate[bot] commented 5 years ago

Code Climate has analyzed commit 2dc55ec8 and detected 0 issues on this pull request.

View more on Code Climate.