Sarathlal N

Enable template path hints in Magento 1 front end

The Magento utilize hundred of files from themes and packages to render web pages. So when doing customization in Magento theme, it is too hard to understand which template file that generate a block of content.

However, there is a neat option to display file path which cause for rendered block of data. We just want to enable Template Path Hints in back end.

To enable this developer option,

  1. Login to the your Magento as Admin.
  2. Select settings from System > Configuration.
  3. Under Current Configuration Scope at top, select Default Store View or the Name of the web store you’ve defined.
  4. On the left Pane, select the Developer Tab.
  5. In Developer Tab, under the Debug section, there is an option to enable Template Path Hints.

After saving the Configuration, the front end will show boxes with red border with the path of the template file, which cause for that particular content block.

Recent Posts

  1. Action hooks that trigger on, before or after add, update or delete actions of option - WordPress
  2. Get all variations of a variable product - WooCommerce
  3. Generate random string - Python
  4. Split domain from an email address - Python
  5. Get upcoming N days - PHP

Your Questions / Comments

If you found this article interesting, found errors, or just want to discuss about it, please get in touch.