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,
- Login to the your Magento as Admin.
- Select settings from System > Configuration.
- Under Current Configuration Scope at top, select Default Store View or the Name of the web store you’ve defined.
- On the left Pane, select the Developer Tab.
- 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.
Looking for a skilled WordPress/WooCommerce developer? I'm currently available for freelance, contract, or full-time remote opportunities! Let's create something amazing together. Send me a quick message, and I'll respond within 24 hours!
Recent Posts
- Scaling WordPress - How Custom Database Tables Solve the Post Meta Bottleneck
- WordPress Transients Explained - A Developer's Guide to Site Performance
- Behind the Click - The Hidden Journey of Your Web Requests
- Automating Code Linting with GitHub Actions for WordPress Plugins
- Comprehensive Guide to Linting PHP, JavaScript, and CSS in WordPress Plugins Using Composer
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about it, please get in touch.