Flag-Nor-Fail / nuxt-storefront

🛍 Nuxt Storefront is a batteries-included, production-ready, headless and open-source e-commerce template for Nuxt 3-powered storefronts.
https://nuxt-storefront-mu.vercel.app
MIT License
67 stars 3 forks source link

Checkout vs Cart APIs #1

Closed idank closed 1 year ago

idank commented 1 year ago

Hey, this is nicely structured and as a newcomer to Vue/Nuxt it's quite helpful to learn!

Curious why you're using the Cart Storefront API as opposed to Checkout? The latter is available in https://shopify.github.io/js-buy-sdk/ which exposes most of the APIs you've written.

joshistoast commented 1 year ago

No particular reason, haven't really touched the checkout aspect of the storefront api since cart has always worked fine for most all my use cases Always open to PRs or suggestions if you feel like using checkout would be better!

idank commented 1 year ago

I ended up using cart too, can't really tell the difference. ^_^