Skip to main content

Questions tagged [multi-source-inventory]

Denotes questions related to Magento Multi Source Merchants inventory

Filter by
Sorted by
Tagged with
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 ...
Shakey's user avatar
  • 171
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 ...
MartinE's user avatar
  • 520
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 ...
Piyush's user avatar
  • 5,904
7 votes
2 answers
8k views

Assign Inventory source while programmatically creating product

I have a custom script that read CSV and creates products programmatically, it was working fine with Magento 2.2.6, now I upgraded it to Magento 2.3, and with upgradation, I configured Multi-Source ...
Piyush's user avatar
  • 5,904
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 ...
Black's user avatar
  • 3,380
6 votes
2 answers
1k views

Magento Total saleble qty displays wrong count

I've magento setup with MSI with 2 sources and both are assigned to stocks as well. But In product grid Total Salable Qty displays wrong count. It suppose to be sum of total available sources. ...
anonymous's user avatar
  • 3,752
6 votes
1 answer
483 views

Save and display ui_component's custom field

I've added custom text box to source form using below code. <field name="delivery_time" formElement="input" sortOrder="70"> <settings> <dataType>text</...
anonymous's user avatar
  • 3,752
6 votes
1 answer
456 views

How to programatically transfer qty from one to other source

Does anyone has idea how to update product qty from one source to other programmatically ? Basically I've 2 sources in my magento setup. Let say currently Salable Qty = 50 and first source has 20 qty ...
anonymous's user avatar
  • 3,752
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 ...
anonymous's user avatar
  • 3,752
5 votes
3 answers
6k views

Magento 2.3 : How to set qty for multiple sources (Multi source inventory) programmatically

I have a site with 3 inventory sources. I want to add and update product inventory to each source by product sku. Please help me
Jancy Abraham's user avatar
5 votes
0 answers
983 views

Salable quantity not updated after stock import in Magento 2.3

I have multiple websites and each website have single store and a single store view. Due to which I have multiple inventory tables created in database as inventory_stock_1 (view) inventory_stock_2 (...
Nausif's user avatar
  • 1,554
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 ...
Crim's user avatar
  • 131
4 votes
3 answers
6k views

Magento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?

I want to get all the location names from the Multi Source Inventory (MSI). How could I get a collection of all locations in my custom module? Here I want to create a new multi-select product ...
Utsav Gupta's user avatar
  • 1,243
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
4 votes
1 answer
318 views

Magento 2 issue on category page and product page of "inventory_stock_1" table?

I am facing issue on product page and category page. Can any one suggest or guide me on this ?
Magento Dev's user avatar
  • 1,264
4 votes
0 answers
364 views

Add filter for sources at product grid

I'm running magento 2.3.1 with MSI and There's no filter,reports available based on sources. Like, I would like to know which source has how many stock left or specific SKU has how many qty ...
anonymous's user avatar
  • 3,752
3 votes
2 answers
7k views

Magento 2.3 : Getting qty from all assigned sources (Multi warehouse inventory) programmatically

How to get qty from all assigned sources (Multi warehouse inventory) programmatically i.e sources and corresponding quantities.
Vivek Kumar's user avatar
  • 5,665
3 votes
1 answer
704 views

How to get in stock product collection by category id in Magento 2.3.3?

I'm using Magento 2.3.3 with multiple websites store that uses different multiple stock sources(multi inventory) and I tried to retrieve product collection by category id like this: public function ...
jojo's user avatar
  • 39
3 votes
2 answers
656 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
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
1 answer
694 views

Value not getting saved using extension attribute, For a newly added column in 'inventory_source' table

Value not getting saved for a newly added column in inventory_source table inventory_source_form.xml <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
manu's user avatar
  • 131
3 votes
2 answers
2k views

Install Magento 2.3 without multisource inventory

How can I install Magento 2.3 without the multisource inventory modules? Do I have to require each core module instead of magento/product by hand?
Alex's user avatar
  • 13.9k
3 votes
1 answer
839 views

How to unassign stock programatically?

I'm using MSI for inventory management. I've imports products and by default Magento assigned default stock to every products. So I need to reassign products to my custom created stock that is ...
anonymous's user avatar
  • 3,752
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 ...
Lubos Zapotocny's user avatar
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 ...
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
3 votes
1 answer
360 views

Filter renderer column data

I've one grid similar to product grid. <?php namespace LazyCoder\WarehouseListing\Block\Adminhtml\Grid; use Magento\Backend\Block\Widget\Grid\Extended; use Magento\Backend\Block\Template\Context; ...
anonymous's user avatar
  • 3,752
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.
venkata prasad's user avatar
2 votes
1 answer
1k views

Magento 2 : How to get collection of all sources "MSI (multi source inventory)?

I have created a custom module and on my custom page, I want the collection of all the sources available on my website. Let's assume I have created 3 sources from backend like "US", "UK", "INDIA". ...
Utsav Gupta's user avatar
  • 1,243
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?
SARAVANA PRASANTH's user avatar
2 votes
1 answer
1k views

Why I can't delete my default stock and source in the MSI?

I've tried to remove the default stock and source, why I'm not allowed to do it?
Rafael Corrêa Gomes's user avatar
2 votes
1 answer
6k views

Magento 2.3.2 Inventory Reservation, adding entries for open order before inventory upgrade

My salable quantity is off. I figured out why it's off and how salable quantity is calculated. Example proper order: User: New order with product sku SKU-AAA x 1 System: Create a Reservation for ...
Mac A.'s user avatar
  • 280
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() { $...
Hiren Shah's user avatar
2 votes
0 answers
187 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
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 (...
Ricardo Martins'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
2k views

Magento 2 how to get Multi source inventory names website wise?

How to get source names website wise from multisource inventory? I have below code for getting all names from a collection of inventory sources: use Magento\Inventory\Model\ResourceModel\Source\...
Utsav Gupta's user avatar
  • 1,243
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
1 vote
1 answer
999 views

Magento 2 MSI - How to listen the event of all source item stock update API

Am using the below rest API to update bulk product's Stock information /rest/all/V1/inventory/source-items My requirement is that I need to listen the observer or some file whenever this API is ...
Quasar M's user avatar
  • 409
1 vote
1 answer
613 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
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
1 vote
1 answer
268 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
1 vote
2 answers
563 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
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
1 vote
1 answer
292 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
1 vote
1 answer
464 views

Magento2.3 - How to connect Multi-Store to Multi-Source Inventory?

We would like to implement a Multi-Store Implementation where one Store is connected to our Main Warehouse for Online orders while the second store runs our POS system and can only debit stock from ...
Kshitij Shah's user avatar
1 vote
1 answer
55 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
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/...
OneBelowZero's user avatar
1 vote
1 answer
516 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
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 ...
Hybrid Developer's user avatar