I am modifying MAgento 2.4 Luma theme for an online bookstore. What I am trying to do is, list all the available categories and subcategories in a left sidebar in home page to navigate easily to the content. I have added the product grid in home page, but I need this list as well. I need to do this in CMS rather changing the code.
Can anybody help with this please?
You need to refer below blog and check in your homepage,
http://ibnab.com/en/blog/magento-2/magento-2-frontend-how-to-call-category-collection-on-home-page
please, let me know if you have any issue.
You need to create a widget to set category list on homepage without changing code. This can be done using this extension : https://github.com/emizentech/magento2-category-list-widget
Install this in your Magento and create a static block with category list widget.
I hope this would be helpful for you.
@senani_m You can use the extension here https://github.com/magepow/magento2-categories this extension available feature categories widget so you can add it anywhere you want show and more awesome feature.