I would like to create a grid that displays all the main categories of the site. When I click on a category I need to be taken to a page that displays all the child categories of that main category in a grid.
Then when I enter the child category I see the related products.
In the case of categories without child categories, the products are shown directly.