I know how to do it via system->configuration->Developer and on other sites people have mentioned doing it by setting template_path_hints to 1 in the config files.

I would have tried to copy the method used in the admin section but this wasn't so easy to follow.

| improve this question | | | | |

Most developers I know are using a module for enhanced template hints:

AOE Template Hints

It allows you turn turn on template hints by adding "?ath=1" to the URL and will give much more detailed info than the standard version.

If you want to implement it yourself you could look at how this module does it:


This method is called in an observer listening for the core_block_abstract_to_html_after event.

| improve this answer | | | | |
  • Is there similar way available for magento 2 without the need to run the commands ? – shreyas d Oct 22 '19 at 10:56

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.