- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019
05:31 AM
09-25-2019
05:31 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019
05:49 AM
09-25-2019
05:49 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019
09:22 PM
09-25-2019
09:22 PM
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"
If you've found my answer useful, please give"Kudos" and "Accept as Solution"