feat(marketplace): adjust cart and checkout view to marketplace use-case (MS-1158)#632
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
…cart-that-organizes-products-by-seller-so-that-i-can-see-exactly-who-i-am-buying-from
…cart-that-organizes-products-by-seller-so-that-i-can-see-exactly-who-i-am-buying-from
…cart-that-organizes-products-by-seller-so-that-i-can-see-exactly-who-i-am-buying-from
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I want to merge this change because it adjusts the storefront cart and checkout flows to support marketplace multi-vendor purchases.
This PR introduces a marketplace-aware checkout cookie format, where checkout IDs are stored per vendor, and updates the cart, PDP, checkout, payment, and order summary flows to work with multiple vendor checkouts.
Related issue: MS-1158
Testing process and results
Impact
Buyers can now use a multi-vendor cart and checkout flow where products are grouped by seller, delivery methods are selected per vendor checkout, and marketplace payment can be initialized from multiple checkouts.
The existing single-vendor storefront flow continues to use shared checkout helpers and should keep working with the new cookie format. Legacy string checkout cookies are handled by fallback parsing.
Rollback plan
Revert this PR to restore the previous single-checkout cart and checkout behavior. No data migration should be required because checkout state is stored in cookies and the new helpers keep legacy cookie fallback support.
Pull Request Checklist