Questions tagged [inventory]

Denotes a question related to Magento inventory.

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

Subtract/reduce more than one unit from a product's stock/inventory

I want to configure that my shop subtracts/reduces a defined stock value from the product stock specified in product or elsewhere. Is this possible and if, how can I do it?
0
votes
1answer
18 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
0answers
10 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 ...
0
votes
1answer
19 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 ...
0
votes
0answers
15 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.
0
votes
1answer
14 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.
0
votes
0answers
13 views

magento 2 display stock status does not display

"manage inventory" is set to "no" and "Display products availability in Stock on Storefront" is set to yes. Yet, "in inventory" doesn't show on product page.
0
votes
1answer
32 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 ...
0
votes
1answer
17 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?
0
votes
0answers
11 views

Salable Quantity

I have been looking for the salable quantities of items on Magento Commerce. I did see it on Catalog -> Inventory -> Products, but I want to export the data to use it in Magento Business ...
0
votes
0answers
28 views

Product status changes after inventory update via POST /all/async/bulk/V1/products API call

After performing the API call (for updating the inventory) below, the product (disabled, not shown on the store) becomes enabled (shown on store). Who knows why this API call affects the product ...
0
votes
1answer
18 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 ...
0
votes
0answers
14 views

Stock Quantity not increasing after cancelling order

I have a magento store configured with 2 sources. When I placed the order, the salable quantity decreased. After creating a shipment for the order and choosing one of the available 2 sources, the ...
0
votes
0answers
21 views

On Place Order, How to Deduct Product Qty with Salable Qty Programmatically in Magento 2.4?

I used "sales_order_save_after" event, In this event at "new" state I want to deduct Product Main Qty with Salable Qty and on Shipment create Restrict Deduction of Main Qty. ...
0
votes
1answer
12 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 ...
0
votes
0answers
33 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
0
votes
1answer
29 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 ...
0
votes
0answers
41 views

Magento 2.4: How to create a new Inventory Source Programmatically?

I want to create a new Inventory Source via Script. I can see that there is an option to create it via admin panel at Stores>Inventory>Sources>Add New Source But I want to create it via ...
0
votes
0answers
21 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
0answers
80 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 ...
0
votes
0answers
33 views

Out of Stock Configureble Product is Still visible in site

Currently, I had some configurable problem that all its simple are out of stock. However, the product is still visible in the category and search results. In "Store > Configuration > ...
0
votes
0answers
17 views

update magento quantities from mysql

I'm drawing a draft for a script to update several products at once using mysql. I've got my own table myinventory which has two columns: sku and qty UPDATE cataloginventory_stock_item INNER JOIN ...
0
votes
1answer
41 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
0
votes
1answer
86 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 ...
0
votes
2answers
102 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. ...
0
votes
1answer
155 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 ...
0
votes
0answers
22 views

Website level increment for same product Magento 2.3.5

Is there any way that have enable Website level Inventory? We want to work with two Websites Retail Wholesale Both should work with different increments, but access the same default stock. Ex => ...
0
votes
0answers
20 views

Order split based on product attribute reducing qty twice

I have integrated Magento 2 order split based on product attributes with help of this extension. https://github.com/magestat/magento2-split-order My plugin file is below. public function ...
1
vote
2answers
69 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 ...
0
votes
2answers
84 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 ...
0
votes
0answers
43 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 ...
0
votes
1answer
93 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....
0
votes
1answer
60 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. ...
0
votes
0answers
41 views

Magento2 showing wrong data for low stock report for multiple warehouse

I have set new source and new stock and assigned new stock in product, when i check low stock report its not showing updated data for new source and stocks, its always showing default stock data, can ...
0
votes
0answers
17 views

Inventory- do not want to take sample into account for inventory

Due to the nature of our business sometimes we have product that is shop worn and we do not want to take into account as a unit in inventory. In this case, we would like the backorder message to be ...
1
vote
0answers
43 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 ...
0
votes
1answer
73 views

Only `inventory_cleanup_reservations` CRON is not scheduled

The Magento2.3 instance is installed in AWS server. The CRON has setup correctly and there are many CRON's running successfully. Below is the content of cron_schedule. But the issue is CRON with ...
0
votes
1answer
933 views

Magento2: Product Stock Bulk Update API

I'm looking for the bulk variant of the product stock update API /rest/default/V1/products/{productSku}/stockItems/{itemId} Objective: I want to update quantities of multiple products in one API call ...
0
votes
0answers
25 views

Magento 2 do not update Inventory correctly

Example: Inventory level is at QTY 100. All of these things happen simultaneously: 1- An admin processes a refund/return and restocks 2 items. 2- Two customers make a purchase buying quantities of 1 ...
3
votes
3answers
1k views

"Only 0 Left" message has suddenly appeared after 2.4.2 upgrade

As wrote in the title, after I've upgraded from Magento 2.4.1 to 2.4.2 the message "Only 0 Left" has suddenly appeared in the product page (configurable product). I checked in Stores->...
0
votes
0answers
50 views

Remove Stock Status if Price = 0 in Magento 2.3

Is there a way to hide the Out Of Stock message for products with $0 as a price only? I realize that the saleable quantity can be hidden in Go to Stores > Configuration > Catalog > Inventory &...
1
vote
1answer
468 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 ...
0
votes
0answers
16 views

How does low-quantity notification work?

In my test site (Magento CE 2.3) I've set the "manage stock" option to yes and set the "Notify for Quantity Below" option to 5. As you can see my current Quantity is 1 but I haven'...
0
votes
1answer
454 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?
0
votes
1answer
16 views

Multistore Advanced Inventory

I have two stores one which is going to be wholesale store and the other a retail store I want to create a product which allows me to set the cart minimum order quantity to 100 for the wholesale ...
0
votes
1answer
22 views

Change stock availability of products based on qty

I'm looking for a query to get all my products that have "qty > 2 and 'stock availability = 0'" and change the stock availability to 1. A crash on my inventory update routine did a mess ...
0
votes
1answer
291 views

Message queue topic "inventory.reservations.updateSalabilityStatus" is not configured after place order. Magento 2.3

recently reinstalled magento v2.3.0 and after place order get Message queue topic "inventory.reservations.updateSalabilityStatus" is not configured. No success page/no refresh card/ But get ...
0
votes
1answer
170 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
0answers
17 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 ...
0
votes
1answer
156 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 ...

1
2 3 4 5
8