-
Notifications
You must be signed in to change notification settings - Fork 3
Add fake cart data and complete checkout flow #90
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
Open
tgaribal
wants to merge
59
commits into
main
Choose a base branch
from
ai_main_3fbe81ddc623
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Collaborator
cgen-6b274d2a04c040398521c9227a4c740b
cgen-07b66422f4954425957d73f4ede48ac6
cgen-4bf8f615ecdc4f95af469c228c020717
cgen-2a9c4bf813f643959de92f1db42eb011
cgen-0fc55421845f4b4a970839a0a7b523ab
cgen-216dc95af46c402a8e152e6029a49687
cgen-3e905d4a5da844d3b806de624ea5c48f
cgen-5ed41a9eea14413cade90c276a62d984
cgen-2c4cd0ae237f4b36a26f5a7e87bc2974
cgen-44debb3535284572a0e90467c11a07c1
cgen-a0069ba9e8064729a1c9e42e40d1213d
cgen-6508c76a22ba40dfb780b2e6b9f2d1dd
cgen-50b2e50b1dc64a48af8e33bb097a1122
cgen-a3ba16205b9d473f80c77611c05bd860
cgen-beda5e776912404ca8c6b93314d2b72d
cgen-7a59bc6533964131a27bdf090b7374b4
cgen-d7b47d1cf7aa47468d15aab72bcf010d
cgen-c9df2ac63b744fdf94c168343916495b
cgen-4a48dcd2436c466f94cc05d85c8a9188
cgen-779efb053e9347bf94b5c2e2b0ffeb68
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
cgen-d543ea8c9d39451688514829b9344544
cgen-7941ec18276047cf83ae939f7edc212a
cgen-89393f9cd09f4aaca73163227e63b1e9
cgen-68ec1f81f26043df845d7082dd05ec4e
cgen-dcdc2048a61842d8b6be9acc82352668
cgen-10cb84285fa64d918689ad1bada3bae8
cgen-ca691af0046f4cad91f75b1d6fae6a25
cgen-097808cfbc6c407a8ebfa81ebcd0d8cf
cgen-f2e1064d8b0c4421938c4666fcb9fd7e
cgen-f7be6140bafd448c97cd6a32e13d8d5e
cgen-ca8a4d3343bd49838a934726adf4c1ea
cgen-8b01acea75aa43acb94fce20ed853d4e
cgen-2c36bf023c624079a9582da85d6e15ae
cgen-c4b802f1725c4a84a02351e0b862c65e
cgen-94b250724c12490c832ed77874b5c911
cgen-9f2f6e644136438da1721e683d2bb88f
cgen-195a36a6762d44a58352650a76d13542
cgen-30045c4e18af4cccbc93c79b7e0f6a0d
cgen-f3bbc3608c8e4ae7bdf6c252e278445e
cgen-571fb6e90c9d4b86bd248b2776d29e41
cgen-105cad688bb849f0b73027c714e2d4b9
cgen-f2f4a6c07c1c46aba3696632a21756d0
cgen-ac17b9a9fa414072973424143083c961
cgen-1a7ae9ee8b8147b8977bc4f18357b8d3
cgen-87a64b438ae54845877e13f1c9fd00dd
cgen-c1dc0b3326fb4faca336f78e334819b0
cgen-ade29e6f965d4779938d4e22f42ace01
cgen-97105220c41c48a5ae8187c7e352b87a
cgen-bc3150edc9e34505821df1bfddaea586
cgen-c37afe99d57844c78f3be2a1f30213fd
cgen-7dd3922e410a4700b0ee452286294433
cgen-88bd2e393e7941ad85599b240acd0eb5
cgen-8165a5e3e4da424eab992d3386fb21ae
cgen-2e0d524601014489bb601062c808f620
cgen-7d7b4744e3b84748bb1b86edef67c53e
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.
Purpose
The user requested fake data to be added to the cart so it has items for testing and development purposes. This enables testing of the cart functionality and checkout flow with sample products.
Code changes
cartStore.tswith Zustand state management including pre-populated fake cart items (Checker Fleece, Fog Linen Jacket, Angular Sunglasses)/api/create-payment-intent/route.tsfor Stripe payment processing with validation and metadata handlingThe implementation provides a complete e-commerce cart and checkout experience with fake data for testing.
tag @builderio-bot for anything you want the bot to do
To clone this PR locally use the Github CLI with command
gh pr checkout 90🔗 Edit in Builder.io
👀 Preview Link