Skip to main content

Questions tagged [multi-source-inventory]

Denotes questions related to Magento Multi Source Merchants inventory

Filter by
Sorted by
Tagged with
3 votes
2 answers
3k views

How to get inventory source id in magento 2.3 order details

I need get the inventory source id based on the order item. I tried with order details but it not display. Anyone please help me.
1 vote
1 answer
520 views

Custom Inventory Source Item

I am trying to render the extension_attibute value from databases to show on UI component field for Custom Inventory Source Item (please refer following screenshot) For that I have created - create ...
2 votes
0 answers
132 views

How to make my own selection algorithm working with multi source inventory?

Is there a way to make my own selection algorithm in MSI? Working only with one website and one store.
3 votes
2 answers
2k views

Configurable product still out of stock even after child product is back in stock

I have Magento 2.3.0 installed on server with MSI package upgraded to v1.1. I have configurable products with their child products initially in stock. Once all the child products goes out of stock, ...
1 vote
1 answer
2k views

Problem with Magento 2.3.6 Multi Source Inventory

I have a Magento 2.3.6 installation using multi inventory. I have the following setup: There many websites. Each website is assigned specific and unique stock. Also, each stock is assigned a unique ...
0 votes
2 answers
125 views

magento 2: inventory_source_carrier_link table empty

I found one table inventory_source_carrier_link which is empty, I do not know why it is empty. We have three sources and stock. Two shipping methods enable: pickup and fixed. How Magento add data in ...
1 vote
1 answer
64 views

magento2 update product stock in MSI programatically [closed]

I'm trying to update product stock programatically in a store with MSI(multi source inventory) enabled. I want to decrease / increase product quantity based on source_code (inventory source code). ...
0 votes
1 answer
3k views

How to solve Magento 2 inventory inconsistencies?

After 3 months of upgrading a Magento 2.0 to 2.3, I noticed many stock inconsistencies like items reserved and never removed, and the orders are closed. Why does it happen and how could I check it?
13 votes
2 answers
6k views

Magento 2.3 Delete Inventory Source

I've installed a clean Magento 2.3. After trying the multi stock options, i noticed that, under Manage Source page, i can create a new source but not delete it. It looks like the action dropdown is ...
1 vote
0 answers
101 views

Undefined array key "inventory_source"

I'm getting the following error while running the setup upgrade command php bin/magento setup:upgrade Warning: Undefined array key "inventory_source" in /vendor/magento/framework/Setup/...
4 votes
3 answers
6k views

Disable stock check / decrease when shipping an order in Magento 2.3.1

I have a Magento 2.3.1 shop with external software managing my stock levels. I have disabled the Decrease Stock When Order is Placed setting but with the new Magento MSI in Magento 2.3, the stock is ...
3 votes
3 answers
1k views

Create extension attribute to inventory source

I have a requirement to add the custom attribute (delivery_time) to each inventory source. my-vendor/module/etc/di.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3....
0 votes
1 answer
177 views

Magento 2 : How to set product stock status customer group specific?

My requirement is wholesaler can order out of stock prdocuts. I tried to create a plugin for the below file but it didn't work. \Magento\CatalogInventory\Helper\Stock::addIsInStockFilterToCollection ...
1 vote
1 answer
615 views

Magento2.4: How to assign a new source to stock programmatically?

I am trying to assign new sources to stock but it's not working. I checked the logs and there is no error found. Below is my code. Can anyone please check and suggest me where am I wrong? public ...
0 votes
1 answer
534 views

Get inventory source details in magento 2 observer

I'm trying to get the inventory stock details for an order in observer using the event sales_order_shipment_save_after. I cannot find the inventory data. Only getting order data. Anyone help me.
5 votes
1 answer
2k views

Filter product collection with source

I'm running on Magento 2.3 with MSI(Multi Source Inventory) setup. I would like to filter product collection with specific source. Like, I've 4 sources for products, source-1,source-2,source-3 and ...
1 vote
1 answer
275 views

How to get Pickup location code for an Order

An order is placed with the instore_pickup Shipping method, but I cannot find the store code from where the order is supposed to be picked up. There is no information for this in sales_order or ...
1 vote
0 answers
1k views

2.3.3, 2.4.x Admin Product Grid Filter/Sort by Quantity?

With the move to 2.3.3 and MSI it seems that in the main admin product grid - still a problem up to 2.4.5 etc we have acquired a "quantity per source" column, non filterable we have ...
0 votes
1 answer
188 views

Saleable quantity is empty even though quantity is showing admin

Right, here is a strange one we are using magento 2.4.2 and stock in the channel to import product data (if any one is aware of them) for some strange range we ever we ever we run the import the "...
0 votes
1 answer
129 views

Can I truncate inventory_source_item table?

I deleted all the products in the admin, but I noticed that the table inventory_source_item is still full of all the products that do not exist anymore. So, I suppose deleting the products does not ...
13 votes
7 answers
26k views

How to disable the MSI in Magento 2.3?

I've seen this below that MSI can be disabled in Magento 2.3 https://devdocs.magento.com/extensions/inventory-management/#disable-inventory-management It says to disable modules. I can understand ...
0 votes
1 answer
220 views

Question regarding Multi Source Inventory

I'm using Magento Community Edition. I would like to define two different Inventory Sources in 2 different EU countries. When a customer orders a product does Multi Source Inventory automatically pick ...
0 votes
1 answer
517 views

Magento 2.4.0 stock status not changed after 0 quantity in multi source inventory

I added two inventory source location in Magento 2.4.0 to manage different warehouse inventory. And also I added two different website. For example One warehouse is Canada and another warehouse in USA....
1 vote
2 answers
567 views

Inventory Stock item

I am trying to add a custom field to the MSI source item. Please check the following screenshot- I have overwrite product_form.xml in app/Vendor/Module/view/adminhtml/ui_component/product_form.xml as ...
0 votes
2 answers
4k views

Salable quantity won't update from 0 in Magento 2.4.4

I'm trying to update product quantities when something sells or is revised on another selling channel. I have a platform notification which is received, and everything works fine except when I'm ...
1 vote
1 answer
724 views

Magento 2: Product showing out of stock if default source has 0 qty in Multi Source Inventory

I need to use MSI (Multi source inventory) feature but i notice that if qty is 0 in default source then product is going to out of stock even qty is already available in other source so how can i ...
6 votes
10 answers
19k views

Magento 2 - Cant buy product - "There are no source items with the in stock status"

If I try to buy a product, then I get "There are no source items with the in stock status" and "This product is out of stock." So I opened the product and noticed that the Quantity is set to 0 and ...
0 votes
1 answer
314 views

show list of products with negative salable qty magento 2

Is it possible to show a list of products with a negative salable qty in magento 2.3
1 vote
1 answer
2k views

Magento 2 MSI Get Product's Inventory Location/wareshouse on frontend

How would I go about displaying a product's warehouse location on the product page? We are using MSI and would like to display which stock source the product is in stock at on the product page.
1 vote
0 answers
103 views

Quantity Increments in advanced inventory is not working for configurable products Magento 2

I tried to increment the product quantity by 10 steps on each click on the + sign by configuring it in the quantity increment from the advanced inventory of the product dashboard. Unfortunately, it is ...
1 vote
0 answers
18 views

Is there any extension to manage ACL based on the multi-source-inventory?

I have some requirements related to managing orders from the admin. but different admin has separate inventory source. Like source, A assigned to admin 1 and source B assigned to admin 2 then admin 1 ...
0 votes
1 answer
158 views

Magento 2: Display product inventory on frontend based on store select

I want to display product inventory based on store select on frontend.(product should be updated on store select) Any help would be appreciated.
0 votes
1 answer
112 views

How to automatic stock details (quantity increment)?

In the warehouse, if we scan the product it has to update in Magento inventory (i mean quantity has to increase). How can I achieve this one?
3 votes
0 answers
265 views

Magento 2 order item find assigned MSI source

I am looking for a extended functionality of Magento 2 adminhtml. After order has been placed (created), how do I find out origin MSI source for each order item (and specified quantity) => from ...
0 votes
2 answers
257 views

Get all stock quantities given one product

These are the stocks I have On my export this is what i'm getting, as you can see (for re and re_pro which belong to the same website) the quantity is fine , but the salable qty is a merge of both; ...
2 votes
1 answer
2k views

Magento 2 create the Inventory source programmatically

I am new to Magento 2 Can anyone help me with how to programmatically create the Inventory source? What is the use of the stock channel?
1 vote
0 answers
398 views

Add product to cart not working on configurable product after enabling MSI (Multi Source Inventory) Magento2

Not able to add configurable product to cart after I have enable the msi: It is showing error from graphql api: Product that you are trying to add is not available.
3 votes
0 answers
396 views

Inventory Source Selection For Quotes

We need inventory source selection at the time of ordering, not at the time of shipment and already solved reservations with a custom reservation mechanism that reserves stock on source level. Now I'm ...
11 votes
6 answers
15k views

product not saving after upgrading to Magento 2.3

Recently I upgraded My Magento 2.2.6 to 2.3, After upgrading I configured Multi Source Inventory, It is working as expected while creating new products (and products created after upgradation). But it ...
4 votes
1 answer
4k views

Magento2.4 API - Update product inventory for multiple sources (MSI)

I have created a product, which has two different sources assigned to it with different quantity allocated to both sources. I want to update product's quantity for both sources separately. I am using ...
0 votes
1 answer
256 views

Configuring Magento 2.3 MSI (Multi Source Inventory) with Multiple Stocks

I am trying to configure Magento MSI with Multiple Stock for a single Sales Channel but it only allows me to assign single stock to a sales channel. Based on Magento's documentation, this is how it is ...
2 votes
1 answer
3k views

magento 2 create shipment programmatically with inventory source selection

I have created order shipment programmatically with below code but I don't know how to select SourceCode when multiple sources available in Magento backend. public function execute() { $...
0 votes
2 answers
2k views

Magento 2 how to get products per website programmatically?

I want to know how to get the amount of products per website? I don't know if this exists, it should. I was searching for a plugin or observer, but I cannot find it, under magento-catalog and magento-...
0 votes
1 answer
1k views

Inventory View inventory_stock_1 causing database locks

After moving databases we are getting spikes in our database from PDP pages with the following query, and it ends up taking a full minute to query. SELECT `inventory_stock_1`.`quantity`, `...
1 vote
0 answers
487 views

Default source and stock missing in MSI after re-enabled - Magento 2

We disabled all the below MSI extensions. Magento_Inventory Magento_InventoryCatalog Magento_InventoryAdminUi Magento_InventoryApi Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi ...
2 votes
0 answers
188 views

Source code is empty in shipment observer magento2

I am trying to get source_code from the shipment_id Have used below event. Vendor/Module/etc/events.xml <event name="sales_order_shipment_save_after"> <observer name="...
0 votes
1 answer
172 views

Products not displaying on frontend when disabling MSI - Magento Multi Stock Inventory

I have completely removed MSI from the Magento installation, all the modules involved have been removed through Composer: "replace": { "magento/module-inventory": "*&...
1 vote
0 answers
50 views

Stocks sources of other website's showing on applying store switcher in admin

Ours is the multi website store(UAE and Oman), and each website is assigned its own stock source under Stores > Stocks But when I Go to product edit, and switch store to Oman website, user is able ...
2 votes
2 answers
966 views

Why do I need to add new non-default inventory source to use In-store Delivery?

Magento docs states that Sources represent locations storing and shipping available product stock, and "All stores begin with a default source that must remain enabled. Single Source merchants (...
0 votes
1 answer
115 views

Workaround to add shipment/tracking information to order and ignore the inventory check?

Our ERP is source of truth and inventory is being managed via API. The issue is that if a source under a stock is 0 and an order requires a shipment from that source, then we can't create a shipment. ...