1

If I try to buy a product, then I get "There are no source items with the in stock status" and "This product is out of stock."

enter image description here

So I opened the product and noticed that the Quantity is set to 0 and grayed out.

enter image description here

If I click on the link text "Advanced Inventory" and enter a value to Qty e.g. 1000 and press on Done and then on save, then it is 0 again after it saves.

What is going on?

4

I figured it out, I have to open all simple products which are connected to the configurable product, then go to "Advanced Inventory" and check the checkbox 'Use Config Settings' under "Manage Stock"

0
2

I also got the "There are no source items with the in stock status" and "This product is out of stock" messages but in my case it was because the simple product was set to "this product has weight" but no weight was specified. Since I don't know the weight yet, I just entered 99 so it will be easy to find later.

1
  • Thanks for your contribution. They should change the error message to make it obvious. – Black Sep 21 '20 at 8:00
1

Our site (Magento 2.3) had this issue with a configured item where all the children had spaces in their SKU names. Updated all of them and the item could be purchased just fine.

1
  • Looking at all of the answers, I think it's actually simpler than the three of us think. We had this error displaying because a third-party product management tool was saving products in an incomplete or incompatible way. Literally all we had to do was open up the products and re-save them using the Magento admin product view. No changes were required; a "re-save" just wrote them the way Magento expects it. All three of our answers seem like unlikely causes but share the common factor of re-saving the products. – S Adamson Sep 28 '20 at 18:04
1

We observed a similar issue when we sync the inventory from external custom methods. There are some instances the data is invalid only for some products. If this is external inventory import an ad-hoc incident, then we may use below SQL query to fix it.

INSERT IGNORE INTO inventory_source_item (source_code, sku, quantity, status)
select 'default', cpe.sku, csi.qty, csi.is_in_stock from catalog_product_entity as cpe,  cataloginventory_stock_item as csi
where cpe.type_id ='simple' and cpe.entity_id = csi.product_id;
0

I have faced similar issue but I have sorted out by setting the Manage Stock "No" in the Admin->Configuration->Catalog->Inventory Tab Product Stock Options->Manage Stock

0

Try to check the weight of the product, I think you are leaving it blank or the weight value of the product is 0. Hope this can help you to solve the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.