Magento – Get the Current Category

Need to get the current category loaded? No problem! Just use this useful little snippet below. It will return an object of the current category.

Share: