Enatega Customer Application: Cart Already Showing Items in it When Logging in as a New User.

Open
#124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the issue with a newly created account, following the listed login and cart steps and checking the customer application's cart section. Trace where the cart contents are loaded or initialized after login, then verify that a new user's cart is empty and that existing users' items are preserved.

Written by the indexing model from the issue text.

Description

bug Enatega Multivendor Customer App high priority

Describe the bug
When a new user logs into the app for the first time, the cart is already displaying two items that were not added by the user. This causes confusion and could lead to incorrect orders being placed.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new user account.
  2. Log in using the newly created credentials.
  3. Navigate to the cart section.
  4. Observe that two items are already present in the cart.

Expected behavior
The cart should be empty for a newly created user unless items were intentionally preloaded by design.

Screenshots

ScreenRecording_02-21-2025 09-46-50_1.zip

Smartphone (please complete the following information):

  • Device: [e.g. Iphone 12]
  • OS: [e.g. iOS]
  • Browser [e.g. Application]
  • Version [e.g. Latest]
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raymondjames090/food-ordering-system-java-eclipse

All issues in raymondjames090/food-ordering-system-java-eclipse

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.