Skip to content

add Bug Report: Cart Functionality & UI Issues #20

Description

@RAVI8054

Description
There are multiple problems with the current cart functionality and UI:

  1. Cart allows adding items without login

    • Users can add products to the cart without being authenticated.
    • This breaks the expected flow where the cart should be tied to a user account.
  2. "Add to Cart" button styling missing

    • The button appears as a plain HTML button.
    • It does not match the app’s design system (colors, padding, hover effects, etc.).
  3. Cart total price not updating correctly

    • Adding more than one unit of the same product does not increase the total price.
    • Example: Adding 2 items still shows the price for 1 item.

Steps to Reproduce

  1. Open the app without logging in.
  2. Add a product to the cart.
  3. Observe that it gets added without authentication.
  4. Check the "Add to Cart" button styling.
  5. Add the same product multiple times.
  6. Observe that the price does not update accordingly.

Expected Behavior

  • Users should be required to log in before adding items to the cart.
  • The "Add to Cart" button should follow the app’s UI design.
  • Cart total should increase correctly with multiple quantities.

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