Questions tagged [inventory]

Denotes a question related to Magento inventory.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 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
0 votes
1 answer
24 views

Inventory integration

Anyone knows how to get the custom type from the product editing page? (Need to get via code into phtml file)
Veronika Petkeviča's user avatar
0 votes
0 answers
17 views

Deadlock on table inventory_pickup_location_quote_address

Magento 2.4.5-p5 with MariaDB. I regularily get this error: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction, query was: DELETE FROM `...
bfontaine's user avatar
  • 165
1 vote
0 answers
23 views

Order for "Bundle products" is not able to send for shipment (Stock Source does not have options)

First of all i searched a lot in other related issues, but does not found identical to my problem (apologies if i missed it). #The problem I have an order for Bundle products (3 separate ones combine ...
rt89's user avatar
  • 11
0 votes
0 answers
91 views

Magento2 inventory_cleanup_reservations CRON job not working as expected for the large number of reservation records

The basic reason behind this is the MySQL group_concat_max_len value. If we have a large number of records in the reservation table then it fails to group concat the value. Preconditions and ...
Deepak Shinde'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
0 votes
1 answer
35 views

Inventory switchining to "Out of Stock" after order placed, even though 1000+ still in stock

Why are my items switching to "Out of Stock" after order placed, even though 1000+ still in stock.
Christina's user avatar
1 vote
1 answer
90 views

Inventory oversold problem during high traffic on Magento website

When we have an inventoried item that sells through very quickly, we can run into problems having Magento manage inventory. Ex: If an product assigned with 200 units, it sold through so quickly that ...
Dharmendra Patidar's user avatar
1 vote
0 answers
78 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
0 votes
1 answer
142 views

Magento2 : Get Product Collection With Stock Data

Currently, we require to load product's stock data from stockregistry which increases database connection if working with foreach loop for product collection. I want to reduce it anyhow.
Dharmesh N Tukadiya's user avatar
0 votes
1 answer
96 views

What are the inventory(MSI) options available in Magento 2?

I'm looking to understand the inventory management features in Magento 2. Can someone explain the different inventory options available in Magento 2 and how they can be utilized? Specifically, I'd ...
user avatar
1 vote
1 answer
29 views

Inventory stock update while using payment gateway

Need possible use cases for a scenario in magento 2 when a customer places an order during checkout after entering place order stock from inventory gets reduced then customer moved to payment gateway ...
Rekha S's user avatar
  • 11
0 votes
1 answer
25 views

Display Out of Stock Products crash

I have Issue Display Out of Stock Products when enabled. Some link category menu are crashed. Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is ...
Roberto Salvatore Di Giorgio's user avatar
0 votes
0 answers
28 views

Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock

I am working on a Magento 2.4.3 store and am cloning a product via the below methodology: $product_clone = $this->object_manager->create(Product::class); $product_clone->load($...
A. Andersen's user avatar
0 votes
0 answers
43 views

Value not getting saved or fetched using extension attribute, For a newly added field in 'inventory_source' admin ui page

Have gone through several posts but was somehow not able to find a fix for this issue When I save, its says "Source saved" but my custom field is not beign saved/fetched What I have done so ...
GunJan Mehta's user avatar
0 votes
1 answer
140 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
1 vote
0 answers
30 views

Magento2.4.5 throws error while di:compile from Inventory module, SourceValidatorInterface not found

I upgraded the magento version from 2.3.6-p1 to 2.4.5-p1 for enterprise edition. While running di:compile, got the following error. Please guide Error: Interface "Magento\InventoryApi\Model\...
Jaisa's user avatar
  • 2,596
0 votes
1 answer
103 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
592 views

Inventory management not automatically changing to 'out of stock' (is there Patches List for Magento 2)

I have faced issue after issue with the Magento 2 software that entails me having to do patch after patch. My most recent issue is with the inventory feature. I have turned on inventory management, ...
thinkhjj's user avatar
0 votes
2 answers
78 views

How to fix a database timeout when deleting a source item through the REST API?

I have Magento 2.4.1 with MariaDB and a catalogue of 370,000 products. I’m trying to delete source items through the REST API. It used to work well in the past, but today I can’t get it to work. Even ...
bfontaine's user avatar
  • 165
1 vote
2 answers
604 views

How to get Product Salable quantity by productId in magento2

How to get product salable qty by productId?
Alshihab's user avatar
  • 161
2 votes
0 answers
444 views

Magento 2 The stock item was unable to be saved. Please try again

This is the log i found. i don't know why its happening when creating a new product. [2022-09-27 07:10:49] main.CRITICAL: The stock item was unable to be saved. Please try again. {"exception"...
Amiyo Ghosh's user avatar
0 votes
1 answer
406 views

Product stock quantity is reducing automatically before shipment

How the product stock quantity is decreasing automatically in magento2 before shipment(not saleable quantity)
Alshihab's user avatar
  • 161
0 votes
1 answer
302 views

Getting the minimum qty allowed in a shopping cart without deprecated methods

Previously to get the minimum qty allowed in a shopping cart I would use the following code: public function __construct( \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry ){ ...
Goose84's user avatar
  • 2,581
0 votes
1 answer
152 views

After POSTing a product those go out of stock, but never back in stock

Can anyone explain why exactly a configurable product for which every virtual product's quantity goes down to zero, and said product subsequently disappears from the store, won't come back even if the ...
Захар Joe's user avatar
0 votes
2 answers
227 views

Install Inventory Manager in 2.4.3 version

I'm trying to install Inventory Manager in my Magento 2.4.3 version after Magento installation. For doing this I download the entire project from here https://github.com/magento/inventory and upload ...
user3718303's user avatar
0 votes
1 answer
474 views

How do i create a stock level report in magento?

I need to get a stock report from Magento. what do we have in stock? what SKUs - what Qty. how do I do this?
Ben Hawley's user avatar
1 vote
0 answers
93 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
0 votes
1 answer
153 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
0 answers
240 views

Magento 2 update inventory programmatically using cron

I want to update the product inventory. Get inventory from another platform using cron once got inventory need to update in Magento but what is the best way to update some time I will get more than ...
Pawankumar's user avatar
0 votes
1 answer
97 views

How to prevent inventory decrement on place of order

My requirement is on a specific order that inventory should not decrease from Default Stock or Quantity after placing the order. How can I Achieve it? Is it possible? Can I get some help.? Thank you ...
Praveen Negimani's user avatar
0 votes
0 answers
58 views

magento 2 : How do I set display stock status to don't show?

I need the "in inventory" message not to be displayed, with products set to don't manage stock.
RoboxFuze's user avatar
0 votes
1 answer
27 views

Magento 2 Which file stores the "in inventory" product view?

I am trying to figure a way to hide show stock status/availability on product page.
RoboxFuze's user avatar
0 votes
1 answer
824 views

Magento 2.4.2 product isSalable not being set properly

Using Magento 2.4.2-p2, I have a product that has stock and qty in the backend, but per the product->getData(), is_salable is set to 0 on the front end. Per this article, I fully removed the ...
dbcn's user avatar
  • 754
0 votes
1 answer
110 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
1 answer
1k views

Where Inventory_stock_% table get updated in Magento 2?

The problem I'm facing is that The table Inventory_stock_13 used for the 2nd website is updated incorrectly. When set source status to Out of stock, column is_salable is still 1 and quantity is ...
Long Nguyen's user avatar
0 votes
1 answer
40 views

Stock set to zero after sale

Magento 2.4.2 For some reason product stock is being set to 0 after an order is placed, regardless of quantity previously in stock or quantity ordered. What could be causing this? How can I debug ...
William Oakley's user avatar
0 votes
0 answers
56 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
0 votes
1 answer
960 views

Can we disable all salable quantity modules in mganeto2.4.1

We manage our stock in another system and update the quantity field as orders come in. This is causing issues as suddenly the salable quantities are lowering, and never reset. Is there a way to reset ...
kiran's user avatar
  • 597
3 votes
0 answers
250 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
0 answers
195 views

Magento 2: Disable redirection to product page if requested quantity is not available on add to cart function

On catalog category page, when I add any product to cart and the requested quantity is not available, it redirects to product page and shows error message there. What I want is to display error ...
Mubeen's user avatar
  • 1
0 votes
1 answer
915 views

Magento2.4 rest api for get all products inventory

I need to get all products detail such as inventory, max, min, qty and more. how can I get them with rest api for magento 2.4? I can get it for 1 sku but I need all skus
MGPM's user avatar
  • 741
0 votes
1 answer
1k views

Magento2 How to filter Product collection by Stock (Get only In stock products)

I want to filter product collection by stock and get only In stock products. I have tried multiple ways and followed multiple stack solutions but nothing works as expected. I am using the Smartwave ...
Amit Saini's user avatar
1 vote
2 answers
1k views

How does Magento 2 Inventory work when an order is placed?

I am confused about how Magento 2 inventory works when an order is placed. What if I have only one qty stock for a product and there are two people who make an order for this product at the same time. ...
jojo's user avatar
  • 169
0 votes
1 answer
884 views

Salable Quantity is greater than quantity with some products

on some cases my salable quantity is greater than my quantity, not for all product but for example to 10 products on 1000. I could not figure out why, I also tried to delete the product and insert it ...
vortex's user avatar
  • 1
1 vote
2 answers
538 views

Inventory cleanup cron job is not running

The cron job at magento/module-inventory-reservations/etc/crontab.xml does not show up in the general pool in the admin backend. It does not show up in cron_schedule table. It does not run. All other ...
Jonas de Herdt's user avatar
0 votes
2 answers
606 views

Backorder products displaying Out of Stock label

My employer has a range of products that we make to order. As such, we don't keep any on hand so our inventory on the Magento 2 backend is always set to 0. I have lowered the out of stock threshold so ...
object10's user avatar
3 votes
0 answers
347 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
0 votes
1 answer
406 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
484 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
2 3 4 5
8