Is there an extension that will display the category id next to the name of categories? It would be handy to know the id without having to click on various categories first.

For instance, you may have some static blocks on your site rotating products of various categories. You may want to copy that block to a new location and display different products instead. Personally I don't have any of my category ids memorized so simply being able to know what they are without having to do much digging will be helpful.


This is a quick and dirty solution without a module, but should work fine even in future updates

  1. Find the file


    and copy it to


  2. In this new file, around line 275 you will find a function named buildNodeName


$result = $this->escapeHtml($node->getName());


$result = '[' . $node->getId() . '] ';
$result .= $this->escapeHtml($node->getName());

You may need to clear the cache and recompile.

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.