magento / magento/inventory

Configurable product where variations are disabled on website/store view appears as salable.

Open
#3,296 10 comments 0 reactions 1 assignee View on GitHub

@engcom-Delta is already working on this.

Since Nov 21, 2025.

Progress: ready for grooming
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

### Preconditions (*)
1. Magento 2.4.1 with MSI
2. Set Magento to hide products that are out of stock.

### Steps to reproduce (*)
1. Multiple store views
- Store1
- Store2
- Store3
2. A configurable product with 1 variation assigned to multiple sources - assigned to a stock - assigned to Store1
- Source1 (in stock, qty 2)
- Source2 (out of stock)
- Source3 (out of stock)
3. Product is enabled in "All store views"
4. Product is disabled in store view for Store1,Store2,Store3
5. Visit category page which shows the product. The product appears salable but is out of stock

### Expected result (*)
1. The product does not appear

### Actual result (*)
1. The product appears in the frontend as out of stock but not possible to add to cart.

e.g.
in category
![image](https://user-images.githubusercontent.com/20220341/110248195-8c34b680-7f78-11eb-9e24-734416280049.png)

in product
![image](https://user-images.githubusercontent.com/20220341/110248183-8343e500-7f78-11eb-8804-a2789aae805b.png)

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.