0

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

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
1
  • where I need to add this code?
    – Robert
    Jan 19 '19 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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