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

Error in Carts #30

Open
me-Shahsavan opened this issue Jul 24, 2023 · 0 comments
Open

Error in Carts #30

me-Shahsavan opened this issue Jul 24, 2023 · 0 comments

Comments

@me-Shahsavan
Copy link

When a customer is logged in and navigates to the cart section, they are presented with a "Buy Products" button. This functionality is appropriate when the cart contains items. However, a critical issue arises when the cart is empty. Instead of directing the user to the shop page to select and purchase products, the system erroneously proceeds with a cost-free order submission, devoid of any products, ultimately leading the user to the orders page.

To ensure a more professional and user-friendly experience, the system should be enhanced as follows:

  1. When the customer is logged in and accesses the cart section, if the cart contains items, the "Buy Products" button should be displayed as intended.

  2. In the event that the cart is empty, the "Buy Products" button's behavior should be adjusted. Instead of proceeding with an order submission without products, it should direct the user to the shop page, enticing them to explore and select items for purchase.

By implementing these improvements, the system can deliver a more intuitive and seamless shopping journey, providing users with the opportunity to browse and buy products from the shop page when their cart is empty, while maintaining the conventional purchase functionality when items are present in the cart.

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

No branches or pull requests

1 participant