Skip to content

Problem adding two different products, but with the same color and size #4132

@alinadivante

Description

@alinadivante

Current behavior

If the user adds two different SKUs to the cart, but with the same color and size, only Qty of the first product will be increased, and only one of the products will be in the cart.
image

Expected behavior

Two products should be added to the cart.

Steps to reproduce the issue

  1. Add for example this product http://localhost:3000/men/bottoms-men/shorts-men/shorts-19/cobalt-cooltech-and-trade-fitness-short-898.html?childSku=MSH01
    choosing color: blue and size: 33
  2. Add another product, e.g http://localhost:3000/men/bottoms-men/shorts-men/shorts-19/troy-yoga-short-994.html?childSku=MSH09
    and also choose blue and size: 33

Repository

Can you handle fixing this bug by yourself?

  • YES
  • NO

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
  • This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
  • This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

  • Browser:
  • OS:
  • Node:
  • Code Version:

Additional information

Metadata

Metadata

Assignees

Labels

P1: UrgentPriority mark - high priorityQA approved on branchTesters will add this label after positive check on specific branch.bugBug reports

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions