Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [inventory]

Denotes a question related to Magento inventory.

0
votes
0answers
6 views

Search results not showing in main results screen, but are being returned

We are running Magento 2.3. I have been doing some API work (NO internal magento changes) to update products, but have been using the same code for weeks without issue. All of a sudden, searching ...
0
votes
0answers
12 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 ...
0
votes
0answers
19 views

Magento inventory: Quantity source reduces by 2 instead of 1

I am creating a shipment programatically. When an order is placed for the product, at order completion, quantity per source gets reduced by 2 instead of 1. Here's my code if($this->order->...
0
votes
0answers
20 views

Stock for quantities over quantities 100 go up randomly - Magento 2

I have a problem whereby stock quantities with 3 or more digits (100 or more) go up randomly on my site. I am not sure what the problem could be. Stock quantity increments are disabled on every level....
1
vote
1answer
20 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 ...
0
votes
1answer
22 views

Magento 2.3.1 Inventory reservations cleanup not working

Even though cron job seems to be working fine, it does not cleanup the inventory_reservation table. This is the result I get back from the cron.log: [2019-06-03 00:00:11] main.INFO: Cron Job ...
1
vote
2answers
46 views

Inventory reindex runs catalog price reindex also

Magento version: 2.3.1 When I run inventory reindex from command line it first runs inventory reindex and then price reindex after that. Here is the command I executed: bin/magento indexer:reindex ...
0
votes
1answer
16 views

Magneto 2.3.1 'Quantity source' becomes null when create product with the same name

I have Magento 2.3.1 setup and multiple products, When I am trying to create a new product with the same name, it is allowed me to create the product with the same name but the 'Inventory Sources' ...
0
votes
2answers
65 views

How to show a advance inventory custom field value in checkout order summary in magento 2

How to show a advance inventory custom field value in checkout order summary in magento 2 Product edit page in admin checkout page code: <?php namespace Cm\Preorder\Plugin\Checkout\Model; ...
0
votes
0answers
18 views

“Unable to save stock item” error when using /v1/products REST call

I'm attempting to use cURL to update the stock for an item - it connects, and the item exists (tried using an invalid sku to test), using the below code. However, it throws an error, and I can't ...
0
votes
1answer
15 views

How to add MSI Integration in Magento 2.1

I am using Magento 2.1. I know Multi-store inventory is available in Magento 2.3. But now I need to add multiple sources for Magento 2.1. I couldn't find any blogs or information regarding this.
1
vote
2answers
44 views

How to save advance inventory custom field value in db in Magento 2

How to save advance inventory custom field value in DB on Magento 2 events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
29 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\...
1
vote
0answers
16 views

Trying to update stock on Magento OMS using API

I am trying to test out updating stock on the Magento OMS API by using the magento.inventory.source_stock_management.update method. The first step of getting the authentication token from the https://...
0
votes
1answer
30 views

Magento 2 Error filtering template?

After installed module we are getting one error message called "Error filtering template: You cannot define a correlation name 'stock' more than once" Mentioned with below code. Can anyone ...
0
votes
1answer
124 views

Magento 2.3 - isSaleable returns true when ProductSalableQty is 0

We have many template files (based on the core) that use: if ($_product->isSaleable()): For determining whether or not to show the add to cart buttons. However, we've found if we have 10 of an ...
0
votes
1answer
214 views

Magento 2 How to decrease product qty from source same as “Product Salable qty” after orderd placed to make product out of stock?

As Magento 2.3 have default behavior that it decreases the qty from "Product Salable Quantity" after order placed not the "Source inventory". The main qty(source inventory) of a product is decreased ...
0
votes
1answer
42 views

Magento 2 - Programatically updating the inventory store wise not working

I have a function to update the product inventory progrmmatically.below is my function in the helper file. protected $stockRegistry; ... public function __construct( .... //Some code-- \Magento\...
0
votes
0answers
21 views

How to add product qty and product price store wise progrmatically in magento 2

I want to create product progrmatically. product creating section is done, after creating the product i want to update the product qty and price store wise. I have following array which return me the ...
0
votes
0answers
32 views

Product Not Currently Available

So recently we've noticed a problem with newly created products within our magento site. It is a configurable product with multiple sizes and colors associated to it. We have full inventory for the ...
1
vote
1answer
1k views

Magento 2.3 Saleable stock qty does not equal Global Attribute Qty

I have a simple product,(one of many), that is linked to a configurable product. I'm trying to get the salable quantity and attribute quantity to match. The site is in a dev env, so I don't think ...
0
votes
0answers
38 views

Quantity increment validation failure

On the cart page, when i try to change the qunatity of a float quantity increment product and update the cart, its showing a validation error like this one : This product having set a 1.99 qunatity ...
1
vote
1answer
55 views

Magento 1.9.4 override Inventory tab template

I would like to override the template file used for the inventory tab in admin product edit section. This is located by default at: /app/design/adminhtml/default/default/template/catalog/product/tab/...
0
votes
0answers
25 views

Magento 2.2 Detect Product Inventory Change

Is it possible to detect Inventory change of a Simple Product from a custom module? Basically if the Value displayed in a Simple Product's 'Quantity' field ( as seen in the Admin product detail page....
0
votes
1answer
29 views

Magento Custom grid sort issue

Dear community I have made a custom module that will allow stock movement history to be kept for products. However, as illustrated below: figure 1; pressing edit on an order in the admin order view, ...
0
votes
0answers
20 views

How to Add quantity box in Magento 2.1 product page

I want Add To Cart with one sku with multiple size and Quantity. if I select Size M then I can add qty 1 or more
0
votes
1answer
67 views

Change product price based on stock quantity in magento 1.9

I have a situation where the product price should change based on the number of items on inventory. Example, if the stock has > 10 item then the product price should be some special price like 100$. ...
0
votes
2answers
47 views

What Magento Version (2.x) support Multiple Inventory System

I have more than one store, i need to update more than one store inventory for same product. May i know what Magento Version (2.x series) support multiple inventory System.
2
votes
1answer
554 views

Magento 2.3 Multi source inventory module - Does it work for Bundled products?

Magento 2.3 Multi source inventory module - Does it work for Bundled products? MSI roadmap says it is in Milestone 3. So if I implement the MSI Module as of today into a catalogue of simple and ...
0
votes
1answer
94 views

Show only 1 month old out of stock products

I'm trying to override the prepareProductCollection to show a list of products which will have all in stock products and one month old out of stock products. So far I was able to filter out the ...
0
votes
2answers
171 views

Magento 2: How do I track configurable product inventory with intangible attributes?

I'm on Magento 2.2.3, and created some configurable product with multiple attributes and I would like to track my inventory. Magento treats each variation as a simple product with it's own inventory,...
0
votes
2answers
359 views

low stock notification to admin without any extension in magento 1.9

I want to create the custom module for email sent to admin for notifying when the product is low qty in magento 1.9.x.
2
votes
3answers
805 views

Store level Inventory for individual product Magento 2.2.0

Is there any way that have enable Store level Inventory. Its not about user config Inventory at Catalog > Inventory Its about Admin >> Catalog >> Product >> Open product which you want to ...
0
votes
0answers
35 views

Magento 2 how to have product Advanced Inventory as store level

How to set product Advanced Inventory as store level. I need this store level for each product I have two stored one is retail and wholesale, How can I set quantity increment only with wholesale So ...
4
votes
3answers
2k views

Magento 2 stock inventory is not being updated

when I placed order in front-end or back-end, quantities of product is not getting reduced or decremented When i have checked in admin panel... Please help me out.. Thanks in advance...
1
vote
1answer
784 views

Stock status and back orders in Magento 2

I want to enable customers to be able to place backorders In the docs its states for stock status of "Out of Stock" the following Unless Backorders are activated, prevents the product from being ...
0
votes
1answer
177 views

Best setup for Multi-Warehouse Stock per store level? MAGENTO 1.9

we are updated our site to have two store levels/ website (1.oceania - 2.Europe). We use the same SKU but have different inventory. What is the best way to set up this store? Oceania Warehouse links ...
0
votes
0answers
180 views

Configurable product set variant per store view

I have cloths website, with multi store view for french, germany etc. For a configurable product with attributes like say color, size say: Size: M, L, XL Color: red, green, yellow, black I have ...
0
votes
1answer
71 views

Magento run custom code only if manage stock is set to yes

I have a custom module that will track stock changes on products, but if the "Manage Stock" is set to "No" then I do not want to track any changes nor display the "Stock Movements" tab. Thus, how can ...
1
vote
0answers
27 views

CE 1.9 - Automatic Restock of Product by predetermined date

When we sell out of a product in magento its marked "out of stock". We then order the new stock and wait for it to arrive before manually setting the product back to "in stock". The trouble with this ...
0
votes
0answers
65 views

show manage Manage Stock in swatches js

im trying to show manage stock when customer choose attribute in configurable product page but it just show Stock Availability when attribute field onchange. this is code that show stock avaibility in ...
0
votes
0answers
48 views

how to set a lead/delivery time for a product?

I have a product which is can be sent out to a customer 10 day after an order has been placed. How can I set up such a leadtime which should be visible in the storefront for the customer? Setting it ...
0
votes
1answer
30 views

Magento 1.9.3.8 Execute only when there is a change for the Stock Level

I have got a custom extension, to track stock movements. So, keep a record of when x amount stock is added for a given product and/or when x amount of stock is removed. However, Even if I don't edit ...
0
votes
0answers
253 views

Magento1.9 inventory updates api

I have a fields in inventory section qty, like below scree shot, i wants to update the qty fields both at a time using magento1.9 soap apis, In the above screen shot i wants to update Main and ...
0
votes
0answers
26 views

Mageno1.9 update inventory qty fields having custom values

Can anyone help me how to update the custom values of inventory quantity fields in magento1.9: Like: Qty: test1: 20 test2L: 30
1
vote
0answers
21 views

I need Products to always be instock and manage inventory. Magento ver. 2.2.3

In my business, we do 50/50 dropshipping. I need to manage inventory within Magento but at the same time when inventory hits 0, I still need the product to stay In Stock because I will drop ship it. ...
0
votes
2answers
271 views

Hide grouped/configured product with zero visible sub-products

I have a site running Magento EE 2.2.2 and I have lots of Grouped and Configured Products. I turned off "Display Out of Stock Products". As expected, when a sub-product is out of stock, it is not ...
4
votes
1answer
273 views

How to Track Inventory for Bulk Product

I am interested in knowing if and how Magento could be used to sell bulk product that is pulled from a common inventory and sold in several discrete package sizes? An example would be Potatoes. They ...
2
votes
1answer
1k views

Show out of stock simple products swatches in configurable (M2.2.4)

I want to show out of stock simple products swatches in configurable product (M2.2.4) to show size etc is available but Out of Stock. I thought M2 did this with "Display Out of Stock Products" but ...
3
votes
1answer
740 views

Magento-2 get all products having product qty less than 5 only

I'm trying to get product collection, only the products which have the qty less than 5 in Magento 2, but I'm failing to load. use Magento\Framework\App\Bootstrap; require DIR . '/../app/bootstrap....