Magento 2 – Product Import Successful but Not Showing on Frontend

importexportmagento2

I am testing M2 on a VM hosted on my local machine.

I have successfully imported products using a CSV file. The products appear in the correct categories in the admin area. However, they do not appear on the front end. I flushed the cache and they still didn't appear. I then went in to a couple of products and saved them then flushed the cache and those products appeared.

How do I get my recently imported products to show on the front end without having to save each one and flush the cache?

Best Answer

Use following command for reindexing:

php bin/magento indexer:reindex
Related Topic