Skip to main content

Questions tagged [msi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

Issue in Showing stock filter in layered Navigation Magento2

I followed below links to Display Stock filter in the layered navigation. https://magecomp.com/blog/add-stock-filter-on-category-layered-navigation-magento-2/ Magento2: How do I add a filter for "...
Jafar Pinjar's user avatar
  • 1,949
0 votes
1 answer
13 views

Magento 2.4 MSI stock sources and product salableqty

I have a site, with multiple stock sources, and backordering enabled. When I test adding to cart, Magento is not taking into account stock in all sources when determining the number of items to be ...
Shaun's user avatar
  • 1
0 votes
1 answer
53 views

Magento 2.4.6 MSI Inventory Indexing. cataloginventory_stock_status not updating

I run a multi-store install of Magento 2.4.6, recently upgraded from 2.3.7-p4 2.3.7-p4 was running with no issues using MSI, products stock_status was being correctly indexed in ...
Duncan Wardlaw's user avatar
0 votes
0 answers
16 views

Failed Order Payment Not Reverting MSI Inventory Quantity in Magento 2

I'm experiencing an issue with my Magento 2 website concerning inventory management using Multi Source Inventory (MSI). Whenever there is a failed transaction via a specific payment gateway, the ...
Alku's user avatar
  • 1
1 vote
1 answer
83 views

How to Programmatically Adjust Out-of-Stock Threshold for Products in Magento 2

I'm currently working on a Magento 2 project that utilizes MSI and I'm trying to programmatically update the Out-of-Stock Threshold for each of my products. While I am able to adjust the quantity ...
gcollet's user avatar
  • 21
0 votes
0 answers
18 views

Order qty sometimes going through as 2 instead of 1

I have a script which submits 5 orders to a staging instance of Magento using MSI for the stock. All 5 orders in the script are for the same product and with a Qty of 1 item. I noticed that the ...
Keppotec's user avatar
1 vote
1 answer
72 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
0 votes
0 answers
22 views

What would be a comprehensive method to register when a product stock level changes - Magento 2.4

We are having some issues with products going out of stock inexplicably, We need to create a Magento module that registers whenever the product stock changes, such as API updates, product sales etc. ...
Joe Moe's user avatar
  • 11
2 votes
1 answer
58 views

When a MSI reservation is compensated?

I see in my reservation table some products' stocks have been compensated when it's invoiced and some when it's shipped. I ran the CLI commands below, and I don't see any inconsistencies. php -d ...
Rafael Corrêa Gomes's user avatar
1 vote
1 answer
649 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
1 answer
551 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
0 votes
2 answers
213 views

How to hide In-Store Pickup Shipping method on checkout based on certain conditions

I am trying to hide In-Store Pickup on checkout page if certain conditions met. For example, I need to hide In-Store Pickup on checkout shipping methods section if customer belongs to specific ...
Muhammad Saeed Khan's user avatar
1 vote
1 answer
302 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
236 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
614 views

How to set or Update product qty for Magento 2.4.5-p1 OR Latest Magento Version?

I have following code to automatically create products in magento 2.4.5-p1. <?php /** * Copyright © All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); ...
kekw's user avatar
  • 103
1 vote
2 answers
577 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
3 answers
705 views

magento/inventory-composer-metapackage = 1.1.3 magento 2.4.3

where of composer.json should i add this line? i had tried in different ways but no luck to get inventoy- (MSI) `{ "name": "magento/magento2ce", "description": &...
FastCellular's user avatar
0 votes
1 answer
88 views

Disabling MSI - any side effects?

I need to disable MSI as source of truth is not Magento. Before doing so (as per i.e. disable Magento MSI Magento 2.4.4) I would like to ask about possible side effects (shipments issues?) in Magento ...
Twisted_Jar's user avatar
1 vote
1 answer
186 views

Magento2 Source selection based on Sellable Quantity

I'm trying to modify the Source Selection algorithm based on the following condition: Sort by Sellable(available) Quantity (Descending) and then location sort priority I have tried many tutorials but ...
Arunendra's user avatar
  • 7,458
0 votes
1 answer
907 views

Magento 2 MSI error "There are no source items with the in stock status"

I am trying to enable the MSI module after being disabled for a lot of months. Now MSI related tables are empty and it is throwing the error "There are no source items with the in stock status&...
Baskar's user avatar
  • 3
1 vote
2 answers
768 views

disable Magento MSI Magento 2.4.4

I'm trying to disable Msi module on Magento 2.4.4 using the following command: php bin/magento module:disable -f Magento_Inventory Magento_InventoryAdminUi Magento_InventoryApi ...
Anass Hl's user avatar
0 votes
1 answer
204 views

[Magento][2.4.3] Deduct source item on refund

I have config MSI for my store and I have some problem. When I call api /V1/invoice/:invoiceId/refund to refund my order with payment type is online payment (ex: paypal, ATM..) after refund success, ...
Will Nguyen's user avatar
0 votes
1 answer
45 views

Magento2 MSI Install on 2.3.4

Trying to install https://github.com/magento/inventory on our Magento Enterprise Cloud v2.3.4 however, am getting this error and am not sure if anyone else has experienced this and figured out how to ...
Jayreis's user avatar
  • 725
3 votes
2 answers
163 views

Create custom date MSI Attribute

Is it possible to create a custom attribute for MSI Stock data at the store level and add it in the following table at Admin Product edit or do we just have to use the extension/custom attribute to ...
Kaushal Suthar's user avatar
0 votes
2 answers
1k views

How do I query products by saleable quantity in MSI

How can I get a list of products that have 0 saleable quantity using either the product repository or collection (if not possible in repository). Something like $searchCriteria = $this->...
CrazyHorse's user avatar
0 votes
0 answers
251 views

Magento2 Special Price is not correctly reflecting on Product List Page and Search Page

Pr-conditions: Magento version: Magento Commerce 2.3.6 Varnish version : 5.2.1 PHP version: PHP 7.2.33 MySQL version: 5.7 Multi Website architecture Catalog Price Scope = "Website" (Admin &...
GCS's user avatar
  • 11
0 votes
0 answers
61 views

After disabling MSI modules in magento2.4.1

My Magento store is throwing this error: Error: Cannot instantiate interface Magento\InventorySalesApi\Api\IsProductSalableInterface I am using Magento 2.4.1
kiran's user avatar
  • 597
3 votes
0 answers
274 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
1 vote
1 answer
392 views

Is it ok to Truncate the "inventory_reservation" table

I have Magento 2.3.6 with MSI enabled. What are the consequences that can occur after truncating the "inventory_reservation" table? Is it ok to truncate the "inventory_reservation" ...
user98069's user avatar
3 votes
1 answer
931 views

Impossible drop table during s:up after disable MSI

I have disable MSI M 2.4.0 and now I try run upgrade but I get: SQLSTATE[HY000]: General error: 1829 Cannot drop column 'source_code': needed in a foreign key constraint '...
Sylvester's user avatar
  • 2,234
0 votes
1 answer
750 views

How to determine if MSI is enabled or not

I am building a Magento 2 module that makes changes to stock information. Bearing in mind stock management APIs are different in Magento depending on if MSI is being used or not, what is the best ...
karatecode's user avatar
0 votes
1 answer
705 views

Magento 2.4 MSI : How to programmatically set Notify Stock Level on Source and SKU

I would like to set Notify Qty from a script that reads a CSV file with Source, SKU and NotifyQty. It would probably need to enable notify qty for the products as well. I can do it with SQL query to ...
Dandy's user avatar
  • 7
0 votes
1 answer
599 views

How to set source quantity (MSI) from my own custom backend module in Magento 2.4?

I'm new to M2, and I am in a hurry to migrate my site from M1. In M1 I made my own MSI functionality, but now I would like to use the built in MSI functionality in M2. For some of the backend logic (...
Dandy's user avatar
  • 7
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
0 votes
1 answer
412 views

Magento 2.3.1 How to hide out of stock products from frontend?

I have Magento setup version 2.3.1 in normal Magento flow if salable qty is > 0 then the product will show in frontend else hide it. This functionality is working correctly after Magento version 2....
Utsav Gupta's user avatar
  • 1,243
1 vote
1 answer
592 views

Can I set MSI stock values using products REST endpoint?

We currently run Magento without MSI. The ERP sends stock updates via extension attributes on the (bulk) product endpoint. This enables us to do most product updates in on API call. Very convenient. ...
BadNewsBrown's user avatar
1 vote
0 answers
267 views

PHP Fatal error on inventory:reservation:list-inconsistencies command

Magento 2.4.0 PHP 7.3 MariaDB 10.4 When I try to run this command: bin/magento inventory:reservation:list-inconsistencies -r I get the following error: PHP Fatal error: Uncaught TypeError: Argument 1 ...
Imesh Liyanage's user avatar
1 vote
1 answer
3k views

How to fix Magento 2 MSI inventory reservation inconsistencies directly via DB?

I see orders that are closed, canceled or completed that were created in the reservation table but never removed and they won't be removed since it's triggered when the order changes the status. I ...
Rafael Corrêa Gomes'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
1 answer
21 views

How to display out of stock on product?

How can I display "Out of stock" in the product based on the Warehouse selected. I will have a selected_opco cookies that can determine the selected source. How can I display "Out of ...
Magento_learner's user avatar
1 vote
1 answer
199 views

MSI M2 - Multisource shipping?

We are using MSI Multistock (multisource) and want to be able to ship from multiple sources in M2 in one shipment. In short it does the following sell items from multiple sources as shown in image ...
snh_nl's user avatar
  • 5,452
1 vote
0 answers
497 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
0 votes
1 answer
611 views

Magento 2.3.4 - How to install Inventory Management Manually?

I am trying to install https://www.appjetty.com/magento2-magemob-inventory.htm, After installed the module during di:compile command i am getting the following error, Class Magento\Inventory\Model\...
zus's user avatar
  • 175
0 votes
1 answer
477 views

Backorder quantity wrong when unshipped reservations

Magento version: 2.3.5-p1 (magento/module-inventory-sales) version: 1.0.8 -- The backorder quantity shown in checkout and stored in sales_order_item.qty_backordered can be wrong when there are ...
Nathan's user avatar
  • 1
2 votes
0 answers
133 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
0 votes
1 answer
966 views

Magento2 Salable Qty value is not correct how can we re-calculate this value? List inconsistencies? Fix it?

Salable Qty <> sum(sources) No idea why. We are testing MSI and Backorders and have use the Ampersand extension to disable reservations. But nonetheless: how can salable qty be incorrect? and ...
snh_nl's user avatar
  • 5,452
0 votes
2 answers
650 views

Magento2 MSI How can we set 1 source to ship from, but not to sale from?

Magento2 MSI How can we set 1 source to ship from, but not to sale from? We currently use backorders. Sales are made from stock sources and backorders (min_qty). Suppose Local stock 2 Incoming stock ...
snh_nl's user avatar
  • 5,452
4 votes
1 answer
3k views

Magento2 MSI v2.3.5 and up: What does "Synchronize with Catalog" do exactly?

We are seeing a new option in v2.3.5 "Synchronize with Catalog" and can read about it here. https://docs.magento.com/user-guide/configuration/catalog/inventory.html But what does it do ...
snh_nl's user avatar
  • 5,452
1 vote
2 answers
6k views

How do we change the Default Stock or Default Source for Magento 2 MSI?

How do we change the Default Stock or Default Source for Magento 2 MSI? There is no option to do so And when importing stock or Backorder " out of stock threshold " then it activates Default ...
snh_nl's user avatar
  • 5,452
3 votes
2 answers
663 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