When you create your products to magento backend, please make sure that:
- Product is set enable.
- Product is assigned to websites
- Product is assigned to categories
- Product should be “In stock” status.
- Product should be have proper Quantity set. Quantity must be 1 or greater than it.
- Product visibility in Catalog, Search
Each time, once you add product to Magento 2 backend, you need to run following commands to make visible it to front-end.
1 2 | php bin/magento cache:flush php bin/magento indexer:reindex |
If you already follow the above steps and it’s still not showing to your front-end. You can fix by resetting the index which will invalidate the state of the index and remove the processing flag from the index
1 | php bin/magento indexer:reset |