Enable Template Path Hints for Frontend & Admin Panel in Magento

In magento, the html on any page comes from many different phtml files. So if you want to make a change in any page, you need to first know from where that html code is generated. To know this, you need to enable template path hints from magento.


1. Enable template path hints for Frontend



Go to System -> Configuration. In the top left there is a box named “Current Configuration Scope“ which has a drop down. From that drop down, choose your store view name. After this go to Advanced -> Developer->Debug And here make Template Path Hints = Yes


2. Enable template path hints for Admin Panel

Step 1 - Connect to database

Step 2 - Enter values into 'core_config_data' table

Run the following query on the Magento database:

INSERT INTO core_config_data (scope, scope_id, path, value)

VALUES ('websites', 0, 'dev/debug/template_hints', 1),

('websites', 0, 'dev/debug/template_hints_blocks', 1);

Disabling Hints

When you've finished development want to turn off template hints in the admin panel, open the core_config_data table and change the 'value' column of the two rows you inserted to "0".

One thought on “Enable Template Path Hints for Frontend & Admin Panel in Magento”

My Cart