Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have created the categories and subcategories after that I have added the products and assigned each product under some categories, but it is not showing on the front website when clicking the categories link?
In Magento2 You should Run the below commands to re-index so that you can view product in frontend
from magento2 root folder
:php bin/magento indexer:reindex
Required, but never shown