Open
Description
Basic MSI is not working with multiple sources assigned to a single website.
Scenario
A merchant with a single online stock wished to sell products which are shipping from two warehouses or suppliers.
Preconditions (*)
- Magento 2.4.6-p3
- Singe website
- Multiple inventory sources
- Custom "Stock" contains multiple "Source" assigned to website
Steps to reproduce (*)
Set up inventory:
- Create two "Sources" in
Stores > Inventory > Sources
(eg. "Supplier 1" and "Supplier 2") - Create a new "Stock" in
Stores > Inventory > Stocks
(eg. "Suppliers")- Assign "Supplier 1" and "Supplier 2" to the new "Suppliers" stock
- Assign the new "Suppliers" stock to Main Website (base)
(the "default" stock is now effectively redundant)
Add stock for product
- Go to a product, assigned the sources and add stock levels for both suppliers
The "Saleable Quantity" will now show a positive amount for the "Supplier" stock group, in the below example, the available quantity is 24:
Expected result (*)
- The product should be available for purchase on the frontend
Actual result (*)
- The product shows as out of stock:
Additional notes
- Adding quantty to the "Default" source enabled the product to be In Stock on the frontend (only for the amount in the default source) despite the "Default" source and stock not being associated to the website.
- The website was reindexed and cache flushed at various points during the above steps.
Metadata
Metadata
Assignees
Type
Projects
Status
Ready for Grooming