I want to list subcategories on category page i found this documation for MAgento 1 it's not working on Magento 2.
https://www.creare.co.uk/blog/magento/magento-subcategories-category-pages
Can someone help me to work on Magento 2 please?
You can check below links for your requirements,
I want to show with only one phtml file.
Thanks for your answer.
You can go with below answer if you need one phtml page with get category,
It's not what i want.
Please read the article that i posted on first message.
There is a amazing module on Magento Marketplace by the name Advanced Subcategory Grid to show subcategories on categories page. Have a look
There are a free extension have that feature:
This is my free module https://github.com/magepow/magento2-categories you can use this and give me review about it.
You can use this extension for Subcategories on Category Page, Subcategory extension extends the default category feature of Magento 2. This extension enables you to display subcategories with proper images and descriptions on your category page. You can choose between two modes of display Grid view or List view. So it makes the page look a lot better. Stores with a complex category hierarchy can benefit from this module. It will help your users navigate the store with ease.
The following link https://www.scommerce-mage.com/magento-2-subcategory-grid.html would be useful.
Cheers!
Hello
If you can't do such a simpler thing i wonder you want to continue using Magento and moving to a simpler platform. Dont think you gain something.