Magento 2 Easy Template Path Hints
Compatibility
Community: 2.0, 2.1, 2.2, 2.3, 2.4Enterprise: 2.0, 2.1, 2.2, 2.3, 2.4
- Store Demo
- Admin Demo
- User Guide
- Change Log
Toggle template path hints for frontend and backend on the fly using a simple query string — no more navigating to System > Configuration > Developer every time you need to debug a template.
The Problem
Enabling template path hints in Magento 2 requires navigating deep into admin configuration, switching store scope, saving, then remembering to turn it off again. It's slow, disruptive, and affects all users on the store view.
The Solution
Append ?tp=1&code=your-access-code to any URL and template path hints appear instantly — only for you. No config changes, no cache flush, no impact on other users. Works on both frontend and backend.
Key Features
How It Works
Enable Template Path Hints via Query String
Simply append the query string to any Magento URL to activate path hints. Works on both frontend storefront pages and backend admin pages.
| Action | Query String |
|---|---|
| Turn ON path hints | ?tp=1&code=your-access-code |
| Turn OFF path hints | ?tp=0&code=your-access-code |
Examples
# Frontend - enable path hints on homepage
https://your-store.com/?tp=1&code=your-access-code
# Frontend - enable on a specific product page
https://your-store.com/product-name.html?tp=1&code=your-access-code
# Backend - enable on admin dashboard
https://your-store.com/admin/?tp=1&code=your-access-code
Cookie Persistence
Save the path hints setting in a browser cookie so it persists across page navigations. No need to re-append the query string on every page load.
- Activate once, browse freely with path hints enabled
- Especially useful when debugging form POST pages and redirects
- Helps debug transactional email templates that render server-side
- Clear the cookie or append
?tp=0to turn off
Installation
.zip file and extract the files.src/ folder to {magento2-root-dir}/app/code/MagePsycho/Easypathhintsphp bin/magento module:enable MagePsycho_Easypathhints --clear-static-content
php bin/magento setup:upgrade
Live Demo
v1.1.0
released on 2017-06-16- changed Refactored the code (Logger, Cookie, Config etc.)
- fixed Fixed template path hints not working for Magento versions 2.1.3+
v1.0.2
released on 2016-04-03- fixed Fixed template path hints for admin.
- changed Refactored code.
v1.0.1
released on 2016-04-03- fixed Fixed relative XSD path of xml configurations.
- added Added modman file.
- changed Refactored code.
v1.0.0
released on 2015-10-30- added Initial Release.
Generic
How can I pay for MagePsycho extensions?
If I buy an extension, how would I get it?
After you make a purchase, the order will appear in the "My Orders" section of your personal account page.
As soon as the order status becomes completed the purchased extensions can be downloaded from "My Downloads" section.
How can I get the license key(s) for the purchased extension?
In case if you have't received any license key(s), please Contact Us with the order #.
Are your extensions open source or encrypted?
Do you provide Magento customization service?
Can I get a refund if an extension doesn’t suit me?
After 30 days from the date of purchase, the refund is not applied. You also cannot ask for a refund for the installation service or custom service.
If you are looking for a specific solution for your store, please Contact Us.Can I request a free trial?
But if you buy an extension and it doesn’t suit you in any way, you can request a refund with no risks on your side.
Moreover, most of our extensions have demos, where you can see how our modules work.
What is the license policy? On how many websites can I use MagePsycho extensions?
In the case of additional licenses, we do provide a good discount.








