Display Magento Categories In The Left Side Of The Homepage

Display Magento Categories In The Left Side Of The Homepage

Magento has its top menu reserved for category navigation. It’s pretty solid for displaying categories, even when there is a large number of them.

In most of the cases clients want is a vertical == sidebar == category menu. so they can also put sub-categories in it like menu navigation. We can always expand on this, but in most of the cases 3 levels are more than enough for stores.

Layout

app/design/frontend/base/default/layout/page.xml or your theme’s equivalent.

 

This will tell Magento to load our template on each page that sports a layout with a right column.

Template file

Create app/design/frontend/base/default/template/page/custom.phtml with the following content: