Skip to content

Product show in stock even if the salable quantity is 0 #31117

Closed
@chichitsai0517

Description

@chichitsai0517

Preconditions (*)

  1. Magento Open Source 2.4.1 with sample data

Steps to reproduce (*)

  1. Make an order of a product and buy everything (example if 5 in stock, buy all 5)
  2. Go to your admin and this product QTY should be 5 and Salable QTY should be 0. Which is normal since the order has not been shipped yet.

Expected result (*)

  1. Front end should show "Out of stock"
  2. We should NOT have the "add to cart" Button

Actual result (*)

  1. Front end shows "in stock".
  2. Add to cart button is available
  3. When we try to cart, we get a message "The requested qty is not available"

NOTE:
See the related issues:


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • [x ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Component: CatalogInventoryComponent: MSIPull Requests related to the MSIFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions