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,
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.