Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cart workflow vs Checkout workflow in Storefront API #90

Open
aeblin opened this issue May 4, 2022 · 4 comments
Open

Cart workflow vs Checkout workflow in Storefront API #90

aeblin opened this issue May 4, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@aeblin
Copy link

aeblin commented May 4, 2022

Hey @ndimatteo, love Hull, really stellar starting spot for headless Shopify (and killer work on the demo store design!)

In the process of kicking off a build for a client, and subscriptions are a concern for them. Just did some cursory looking around, and seems like the Checkout workflow in the Storefront API is unable to handle Selling Plans for subscriptions and the like, and Shopify's advocating for migrating to the Cart workflow to solve for those sorts of issues.

Any plans to move Hull away from the Checkout workflow and to the Cart workflow?

@aeblin aeblin changed the title Cart API vs Checkout API Cart workflow vs Checkout workflow in Storefront API May 4, 2022
@aeblin
Copy link
Author

aeblin commented May 4, 2022

Similar question over in the Vercel Commerce repo - https://github.com/vercel/commerce/discussions/558

@ndimatteo
Copy link
Owner

Hey there @aeblin, I'm glad you're enjoying hull! 🤘

We're actually not using either of these workflows currently. Instead, we're using the Shopify Buy SDK to power the cart and checkout experience in HULL.

I'd love to move to the current workflows recommended by Shopify for headless, but it's a bit involved and I don't have a roadmap for it just yet.

If you'd like to start a branch to work on this that would be more than welcomed! 🙏

@aeblin
Copy link
Author

aeblin commented May 4, 2022

Totally my bad there, I mistook the Buy SDK's "create a checkout" syntax for the Checkout workflow in the Storefront API.

As far as I can tell, the Buy SDK also doesn't support selling plans? I'll see about branching and setting something like this up, thanks @ndimatteo!

@ndimatteo
Copy link
Owner

No problem @aeblin! You're right that the Buy SDK doesn't have clear support for selling plans at the moment.

Perhaps this can help (I know it references Recharge though): Shopify/js-buy-sdk#854 (comment)

Let me know how it goes!

@ndimatteo ndimatteo added the enhancement New feature or request label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants