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

Skip creating checkout session when the cart is empty #124

Merged
merged 6 commits into from
Dec 18, 2024

Conversation

Dinwy
Copy link
Collaborator

@Dinwy Dinwy commented Dec 12, 2024

Content

After having discussion, decided not to create checkout session when cart is null.

Screenshots

In admin page (No checkout block incompatible error)

Screenshot 2024-12-12 at 14 53 24

Able to add checkout block in sample page & rednering

Screenshot 2024-12-12 at 14 53 47 Screenshot 2024-12-12 at 14 54 11

@Dinwy Dinwy force-pushed the fix/skipCreateSessionWhenCartEmpty branch from c1f7c6a to 346b986 Compare December 12, 2024 06:20
@Dinwy Dinwy force-pushed the fix/skipCreateSessionWhenCartEmpty branch from 963cef1 to 7ed4a52 Compare December 17, 2024 07:23
@Dinwy
Copy link
Collaborator Author

Dinwy commented Dec 18, 2024

Since we fixed e2e test problem. I am merging this.

@Dinwy Dinwy merged commit 38f8c3c into master Dec 18, 2024
4 checks passed
@Dinwy Dinwy deleted the fix/skipCreateSessionWhenCartEmpty branch December 18, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants