Here are three different snippets for displaying Magento categories and sub-categories in any template. These would also work well for navigation’s.

Do you have a different solution for displaying categories or have any suggestion to improve these snippets? Please leave your comments below.

Top level categories only

Top level categories and sub-categories

Top level categories and all current categories and sub-categories

Leave a Reply