cancel
Showing results for 
Search instead for 
Did you mean: 

cataloginventory_stock_status not filled after importing data in magento2

cataloginventory_stock_status not filled after importing data in magento2

When i import a file my cataloginventory_stock_status  table not filled and therefore inventory_stock_1 view also empty. My products not showing at the frontend.

 

Kindly tell the solution of this problem.

2 REPLIES 2

Re: cataloginventory_stock_status not filled after importing data in magento2

Hello @ayesha_khalid,

Please reindex the table by excuting the following command from your magento root directory: 

bin/magento indexer:reindex

Then check again, I hope this will help you.

If it helps you, please accept it as solution and give kudos.

Regards.

Re: cataloginventory_stock_status not filled after importing data in magento2

Hello @ayesha_khalid 

 

Try to save one product in backend and check that particular product status updated in the table.

If the stock status is updated, then you may save all product manually or create root script using
ProductRepository and save all products.

 

Hope it helps.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"