Skip to content

Error in Carts  #30

@me-Shahsavan

Description

@me-Shahsavan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions