Closed halafy-ds closed 4 years ago
Hey @halafy-ds
This is a good approach actually. I'll add some documentation to the README for anyone who may be expecting anything different.
Hi, Yes because with the previous approach the gatsby-graphcms-ecommerce-starter seems to be a little buggy with its cart management. I thinks this starter is a an good showcase for the package so maybe it can help.
On addItem, update event should fire when item is already in cart and updating item quantity to 0 should fire a remove event