Magento Template Path Hints

Magento is a complex shopping cart tool and finding your way around its deep file structure is never an easy task. This is where a very handy Magento feature comes in called Template Path Hints.

Magento Logo

What Are Template Path Hints?

Template path hints are small tags which appear on the frontend of the shop and enable you to see exactly where the code for each element is stored in the file structure. These save developers a lot of time and frustration when they need to edit the structure of an ecommerce shop.

Turning Them On

To enable template path hints, you need to login to the admin panel of your site then go to System > Configuration and change the Current Configuration Scope to Main Website. Once you have done this, scroll down the page and click Developer. Then click Debug, select Yes next to Template Path Hints and click Save Config. Now go back the frontend of your shop and refresh the page to see the template path hints.

Your page will now look like this image below:

Magento Template Path Hints

When you have template path hints on you will see that the site looks a mess with all the red boxes but enabling these will make your Magento development a lot easier.

Related posts:

  1. Install Magento Locally On A Mac
  2. Magento: Create XML Blocks
  3. Magento: Changing The Favicon
  4. Magento: Adding an RSS Feed
  5. Magento: Translate Inline

Tags: ,

Leave a Reply

Contact Us Today...

For more information regarding any of our services or to arrange a free consultation simply send us a message or call 02920 290 080 for Cardiff and 01179 000 482 for Bristol.

Firefox 4 Beta

Mozilla have released the first beta version of Firefox 4. The latest version of this browser will include better support for many of the new web technologies, a new add on manager, crash protection from third party plugins and accelerated hardware support. One of the most obvious changes is that the tabs have now been moved [...]
» more

Cardiff: 02920 290 080 Bristol: 01179 000 482