You are here: Blog » Tutorials » Enable Magento Template Path Hints

Enable Magento Template Path Hints

hi

One of the things you quickly realize while developing a Magento site is that there are so many template files that it’s hard to remember which template file is controlling various elements on your website.

Luckily Magento includes a feature called ‘template path hints’. When you enable Magento template path hints, you are cues on the front of your site which break down every element on each page and tells you which template file is the source behind it.

How To Enable Magento Template Path Hints

You can enable this feature by going to your Magento admin > System > Configuration > Advanced > Developer.

Here’s The Trick To Remember

At this point, you need to change the ‘Current Configurable Scope’ to set it at the Website or Store level (ie it can’t be set to Default Config like it is normally). Once you change this, you will now a new option called ‘Template Path Hints’ has been added under the ‘Debug’ section on the page. Set this to yes and save config. You will now be able to see template path hints on the front end of your site so you will now which template files are actively controlling all the elements on the page that you see.

This entry was posted in Tutorials and tagged by .

Author: justin saad

Justin Saad is first and foremost a husband and a father of four. He is also a web developer and designer who has been making websites for over twenty years. His company is called The Motech Network and his website is ClevelandWebDeveloper.com. In addition to building websites, Justin makes WordPress plugins and likes writing tutorials to help others learn about various aspects of web development.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">