Skip to content

Conversation

@ranjangupta4590
Copy link

Hi!
I’ve fixed the issue “Wrong toast style shown when cart is empty #57 "

Summary of changes

Updated the checkout validation logic to show an error toast (❗) instead of a success toast when attempting to proceed with an empty cart.

Message displayed: “Your cart is empty!”

✅ Outcome

Now, clicking “Proceed to Checkout” with an empty cart correctly displays a red error toast, preventing misleading success messages.

Contributing as part of Hacktoberfest 2025

@vercel
Copy link

vercel bot commented Oct 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
quickbasket Ready Ready Preview Comment Oct 19, 2025 1:42pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@cu-sanjay cu-sanjay added the conflicts Pull request has merge conflicts that need resolution. label Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicts Pull request has merge conflicts that need resolution.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants