Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [multi-source-inventory]

Denotes questions related to Magento Multi Source Merchants inventory

Filter by
Sorted by
Tagged with
0 votes
2 answers
120 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 ...
Niraj Patel's user avatar
1 vote
1 answer
53 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). ...
Dharmesh N Tukadiya's user avatar
1 vote
0 answers
94 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/...
OneBelowZero's user avatar
1 vote
1 answer
584 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 ...
MagentoDev's user avatar
0 votes
0 answers
71 views

looking for file location insert/update inventory_stock table for products

I am looking for code where it insert/update is_salable column in inventory_stock_1,inventory_stock_2 table anyone know from which file it is updating this data? when I save product in admin it ...
Niraj Patel's user avatar
0 votes
1 answer
499 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.
Sandeep Nair's user avatar
1 vote
1 answer
239 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 ...
Muhammad Saeed Khan's user avatar
0 votes
1 answer
180 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 "...
shafiq's user avatar
  • 295
0 votes
1 answer
125 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 ...
Eliacim DAVILA - CENSERE's user avatar
0 votes
1 answer
208 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 ...
Hurrpadurr's user avatar
0 votes
1 answer
491 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....
Niraj Patel's user avatar
1 vote
1 answer
490 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 ...
SANDIP BHOSALE's user avatar
1 vote
2 answers
535 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 ...
SANDIP BHOSALE's user avatar
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 ...
Swappart's user avatar
0 votes
1 answer
307 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
Shaun's user avatar
  • 109
1 vote
0 answers
102 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 ...
Hybrid Developer's user avatar
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 ...
Sagar Dobariya's user avatar
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.
mechanic's user avatar
  • 440
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?
somutesting's user avatar
3 votes
0 answers
261 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 ...
Lubos Zapotocny's user avatar
0 votes
2 answers
251 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; ...
Claims's user avatar
  • 1,209
1 vote
0 answers
396 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.
nihal malik's user avatar
2 votes
1 answer
1k 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?
SARAVANA PRASANTH's user avatar
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.
user1155594's user avatar
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....
Quasar M's user avatar
  • 409
3 votes
0 answers
393 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 ...
Fabian Schmengler's user avatar
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, ...
Nausif's user avatar
  • 1,554
0 votes
1 answer
173 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 ...
26vivek's user avatar
  • 467
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 ...
Mukul Garg's user avatar
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 ...
dimitriss's user avatar
0 votes
1 answer
248 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 ...
NewLearner's user avatar
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?
Rafael Corrêa Gomes's user avatar
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-...
Oscar Vazquez's user avatar
0 votes
1 answer
988 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`, `...
willboudle's user avatar
  • 1,705
1 vote
0 answers
482 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 ...
Bilal Usean's user avatar
  • 9,987
2 votes
0 answers
183 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="...
Manjunath's user avatar
  • 177
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": "*&...
Raül's user avatar
  • 790
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 ...
Lokesh Naik's user avatar
1 vote
1 answer
718 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 ...
Dhaval Vaghela's user avatar
0 votes
1 answer
111 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. ...
user avatar
2 votes
2 answers
962 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 (...
Ricardo Martins's user avatar
0 votes
1 answer
96 views

install magento multi source Inventory after magento234 has been installed

I installed magento 234 and I have been using it . recently I tried to install a warehouse app and noticed it was giving me errors, It specifically asked for magento/module-inventory magento/module-...
LoudHouse Family's user avatar
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.
Erich Hans Merz Diaz's user avatar
1 vote
1 answer
409 views

How to assign a product source from Event Observer

When a product is saved, I want to check if the product has an inventory source set, and if not, set one. The event name I'm observing is catalog_product_save_after. This is the Observer code: class ...
Hunter's user avatar
  • 809
1 vote
1 answer
291 views

B2B Multiple warehouse management for sellers and shipping from multiple warehouses in magento2

single vendor multiple warehouse concept in B2B. Like vendors, warehouses should be located in different cities. Is there any extension available for this and any idea about this. Multiple warehouse ...
Devidas's user avatar
  • 3,358
3 votes
2 answers
654 views

I have to disable the MSI and enable the usual qty field only in the magento 2.3.5 version

I have to disable the MSI and enable the usual qty field only in the Magento 2.3.5 version https://www.rakeshjesadiya.com/disable-sources-in-multi-source-inventory-magento-2/ I tried to use the ...
Ankit Srivastava's user avatar
1 vote
0 answers
284 views

Magento2: Not able to assign Source after enable the MSI module

I have disabled the MSI inventory module (as explained in this article) in my store. After facing some issues I have reverted back MSI related all modules, but after enabled all modules I am not able ...
Purushotam Sharma's user avatar
0 votes
1 answer
168 views

Assign inventory source if distance greater than 20km

I am using the distance priority algorithm for source selection of the inventory. I want to assign a particular source to a product if the nearest available source is greater than 20km distance. Is it ...
dhanus's user avatar
  • 124
0 votes
0 answers
448 views

Wrong store_id in product collection

I need to cycle products collection for each store. But the method $collection->addStoreFilter($store) seems to not work properly. I also tried to $collection->setStore and setStoreId. The problem ...
Mattia Kozianowski's user avatar
1 vote
2 answers
1k views

MAGENTO 2: HOW TO DISABLE MSI in MAGENTO 2.3.0

How one can disable the MSI module in Magento 2.3.0 if not in use.
PratikS's user avatar
  • 71