I want to add subcategories images in Top Navigation Menu, I found this module but display only parents categories, I need to be on subcategories.

I want to be like this:

enter image description here

1 Answer 1


Try using these codes to display subcategory image in top navigation menu:

$categoryObj = Mage::getModel('catalog/category')->load($catId);
$categoryObj->getName() -- This display category Name
$categoryObj->getImageUrl() -- This display category Image
  • where I need to add this code?
    – Robert
    Commented Jan 19, 2019 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.