Skip to content

Enatega Website: Duplicate cart items instead of increasing quantity #1433

@ifrahfasih

Description

@ifrahfasih

Describe the bug
When a user adds an item to the cart and then re-adds the same item with the same variations and add-ons from the menu, the system creates a new cart entry instead of increasing the quantity of the existing item. This results in duplicate cart items.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Log into the Web as a user.
  2. Select any item with variations and add-ons.
  3. Add the item to the cart.
  4. Go back to the menu and select the same item with the same variations and add-ons.
  5. Add it to the cart again.
  6. Check the cart contents.
  7. The item is added as a separate cart entry, even though it has the same variation and add-ons.

Expected behavior
The cart should increase the quantity of the existing item instead of creating a duplicate entry when the same item is re-added.

Screenshots

Image

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [chrome]

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions