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 [cataloginventory]

Denotes questions regarding Magento Catalog Inventory

0
votes
0answers
22 views

SQLSTATE[42000]: Syntax error or access violation: 1235 This version of MySQL doesn't yet support Magento 2

I am facing below error while run setup upgrade commands. SQLSTATE[42000]: Syntax error or access violation: 1235 This version of MySQL doesn't yet support 'multiple triggers with the same action ...
2
votes
0answers
23 views

What is the difference Between cataloginventory_stock_status & cataloginventory_stock_status_idx

If I use cataloginventory_stock_status and cataloginventory_stock_status_idx return different values, what is the main difference between these two tables?
0
votes
1answer
69 views

Inventory management after order created via rest API in Magento 2.x version ( without cart)

I have created Magento rest API for the third party integrations and I have used a couple of API's for listing products, fetching product detail and created order. I used [PUT] - /V1/orders/create - ...
1
vote
1answer
50 views

Missing add to cart button on some items

We're experiencing a strange issue with our catalog, I'm scratching my head of where to start looking for... Here are the symptoms: Item X - doesn't have the "Add to Cart" Button. When I go to the ...
0
votes
3answers
54 views

Magento 2.3 - How to fetch stock statuses of all the stores

I need to fetch the stock status (In Stock/Out of Stock) of all the stores for the single product. I have configured MSI. Lets say am in store1. In product view page I should be able to get the stock ...
2
votes
1answer
43 views

How to disable/enable backorder for particular website/store?

I want to enable/disable backorder from one of the available websites. How can I implement it?
6
votes
1answer
95 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 ...
2
votes
0answers
33 views

Products do not appear on list page in magento 2?

I am working on a project where I need to display the list products on list page. I have added the products on local server where I am getting them on front-end. But when I create products on live ...
0
votes
0answers
33 views

How to setup different Advanced Inventory Options for each store?

I couldn't find an answer for this problem and I hope someone can help me out. I have a magento 2 multi store version 2.3, a retail store www.example.com and a wholesale store wholesale.example.com, ...
1
vote
0answers
19 views

Change the quantity of a child, the change should be applied for the other child of its parent in configuration product

In other words, when I change the quantity of a child, the change should be applied for the other child of its parent in configuration product .Thank you in advance.
0
votes
0answers
24 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
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
269 views

How to show “out of stock” child products for configurable product in list and product view page magento 2?

I am trying to show out of stock child products for configurable product in details and product view.I changed the settings from catalog inventory to display out of stock products even it is not ...
0
votes
1answer
133 views

Why order item quantity is not decreased after order placed

I am facing a strange issue in our live site order item quantity is not decreased after order placed from the frontend. (i.e) if a successful order has 5 products, 4 products quantity has been ...
2
votes
3answers
663 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 ...
1
vote
1answer
513 views

Magento 2 How to set product minimum quantity selected to minimum qty configured in the Advanced Inventory product level

If 5 is the minimum Qty on Advanced Inventory product level for a product then in Product detail page it should as 5 default selected. How can I achieve this.
0
votes
1answer
258 views

cataloginventory_stock_status entry issue Magento 2

I did not get an entry in cataloginventory_stock_status table after indexing. Product stock entry is exist in cataloginventory_stock_item table. I have checked this thing in Magento 2.2.5 in default ...
0
votes
1answer
27 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
32 views

Magento Qty is being squared in checkQuoteItemQty

We noticed on the cart page we'd see the "The requested quantity for product_name is not available." error after it's been successfully added to the cart. I added var_dump($qty); just before that ...
0
votes
1answer
376 views

What is the usage of itemId inside Update inventory REST API?

According to the swagger, the REST API PUT /V1/products/{productSku}/stockItems/{itemId} is used to update the product inventory. However, for the attribute value itemId, I found no differences no ...
1
vote
0answers
24 views

Magento 2.2 Inventory not getting decreased when orders are created using REST API

I am new to Magento 2.2 and I want to create orders using REST API. Orders are getting created. But the stock value of the Product is not getting decreased. I have made the necessary settings in ...
0
votes
4answers
1k views

How to show only in stock products? [duplicate]

I am using product collection in my custom phtml file I try to add filter only show in stock product but it will not work My code : $currentCategory = Mage::registry('current_category'); $catId =...
1
vote
1answer
189 views

Is there any observer like 'cataloginventory_stock_item_save_commit_after' in magento 2?

I need to trigger the inventory changes in Magento 2.0 I have an observer cataloginventory_stock_item_save_commit_after in Magento 1.9 and its working fine. But I can't find the same observer in ...
1
vote
0answers
71 views

show total stock available

Is there a simple way to show total quantity in stock for products. We are trying to make it a simple inventory catalog showing products and total quantity available per product? If some development ...
2
votes
1answer
477 views

Magento 2: Remove 'low stock' label from product image

I created a product and set 'Manage Stock' to no. But when i see a product on frontend, it shows a label 'Low Stock' on product thumbnail image. I do not want to show that label. I think there is an ...
1
vote
1answer
756 views

How to update Qty on product save action?

I'm trying to update the StockData in catalog_product_save_before observer and not having any luck. I can get the stock data like this $_newProduct = $observer->getProduct(); $_newStock = $...
2
votes
2answers
1k views

Magento 2 Rest Api V1/products missing extension attributes

I am calling the Rest API V1/products to get the product list from Magento 2 store Request: http://{myMagentohost}/Magento/index.php/rest/V1/products?searchCriteria[currentPage]=1&...
1
vote
1answer
683 views

SQL to list all skus, inventory on hand and qty sold between x and x date

I have a Magento 1.9 site and I am trying to write a sql query that would return a listing of all skus (disabled and enabled) in the site as well as how many of each sku was sold between a specific ...
4
votes
0answers
178 views

Unable to edit product attribute value

Running 1.9.x Magento, I found a handful of products (out of 80k) that have a product attribute value that cannot be edited from the product edit panel. The attribute value is a custom value called '...
1
vote
1answer
308 views

Update stock level in a particular warehouse

We have multiple warehouses for our web-store and we want to update stock via script whenever we get new stock in. However, when I try to update the stock level via program, the stock level goes up ...
0
votes
1answer
94 views

The catalog inventory stock item unique hase changed

I am working on a new Magento 2.1.4 projet. We have a single store. And we need to manage the inventory for a large amount of shops belonging to this store. I was thinking about using the ...
0
votes
1answer
220 views

configurable Parent Product set “Stock Availability” set auto magento-1.9

I would like to do if any Child product has status "in-stock" parent status auto update "in-stock". else parent configurable product status update "out-stock". anyone can help me how can I do it with ...
1
vote
1answer
56 views

Magento inventory

In my magento project I have created a superuser who can directly add product to customers cart from his cart. Here I am loading customer quote by their emailId and adding each product from super user ...
1
vote
2answers
104 views

How to get minimum, maximum, and available products for a product

I need to find the stock details of a product how to find that.
0
votes
1answer
179 views

Magento 2.1 Override Catalog Inventory

I'm currently writing multi-vendor extension, I'm looking for sample code on how to override the inventory, so it shows inventory from a custom field, Already tried overriding getQty of the Product ...
0
votes
1answer
543 views

Show Empty Categories on Catalog Page - Magento 2

I want to show all categories, even if they have no products in them. How can I achieve something like this?
1
vote
0answers
155 views

Magento2: Updating products with CSV duplicates product_id in cataloginventory_stock_item

Any ideas why Magento 2 creates duplicate product_id into cataloginventory_stock_item table for each product that I try to update via import functionality? Thanks.
1
vote
1answer
304 views

On Product Save from Magento admin getting the Integrity constraint violation error

On Product Save from Magento admin getting the Integrity constraint violation error, Can any one please let me know why this errors coming up. SQLSTATE[23000]: Integrity constraint violation: 1062 ...
5
votes
2answers
423 views

Disable all Mage_CatalogInventory features

We don't use any feature of Mage_CatalogInventory and I disabled some of it in the system configuration, but there are still a lot MySQL Queries especially in the checkout, which took very long. My ...
1
vote
1answer
691 views

How to Prevent Negative Stock Qty Value In Magento?

How do I prevent product stock qty value showing negative values in admin? I have set Backorders to "No Backorders" but still it's showing negative values. can anybody please help me on this. Thanks
1
vote
1answer
2k views

Notify for Quantity Below in Magento 2

I have a requirements to notify the admin through email when a product quantity goes below 5 in Magento 2.0.7. I have found that there is option on the admin: System > Configuration > Catalog > ...
0
votes
0answers
494 views

Get CatalogInventory stock collection in Observer

I need, on website save, get the inventory with the current website ID. Ad I'm trying to get the CatalogInventory Stock Collection in an Observer, but it finish with the error: Configuration array ...
1
vote
4answers
7k views

Magento 2 - How to set a maximum order qty of individual products?

I am trying to figure out how to set the maximum qty allowed in a shopping cart for an individual product. In my case: Most products can be added to the cart as many times as they want, but I have a ...
3
votes
2answers
1k views

Magento - change of product quantity and status is not working in an event

I have created an event which checks that if the backorder quantity of an item is greater than zero than set the ordered product quantity to zero instead of keeping it in negative and also change its ...
0
votes
1answer
44 views

Magento 1.9 - Use backorder stock instead of actual stock for certain products

For some "Special" products in a webshop I want to use Backorder stock instead of actual stock which is available for those products but not sure how to proceed with it. I have looked into ...
2
votes
1answer
335 views

Why are there 3 identical tables in Magento2?

We came across three absolutely identical in structure tables in M2 DB: cataloginventory_stock_status cataloginventory_stock_status_idx cataloginventory_stock_status_tmp Anybody has any idea ...
1
vote
1answer
1k views

Slow Save Order Due To Re-Index

We're running CE 1.9.1.0 with all the latest patches and use New Relic, among others, to track site performance. I've noticed a number of slow queries when customers are checking out, and in every ...
0
votes
0answers
42 views

Display stock remaining quantity for all type of products [duplicate]

My requirement is to display stock remaining quantity in PDP for all types of products : simple,bundle,grouped,configurable. For bundle products, when I choose the radio button/switch option, the ...
3
votes
2answers
1k views

Email for Low Stock Products

How can I setup the Email Notification for the Low Stock Products and Expired Products?
0
votes
1answer
243 views

How to uncheck checkbox of Use Config Settings in Catalog Product Inventory

I want to uncheck checkbox Use Config Settings by default in Inventory section in Catalog=>Product section as below image--- I know that we can update it from DB query but I want to make them ...