When viewing your theme, it’s helpful to see which template file is
being used for which part of the page. Magento has an excellent
debugging tool called ‘Template Path Hints’.
1. Admin → System → Configuration.
2. Select your store from the drop-down in the upper-left corner and wait for the page to reload. Note that you have to be on the website level or lower. The ‘Template Path Hints’ option will not be visible if you are at a higher level.
3. Advanced → Developer (all the way at the bottom).
4. Template Path Hints → Yes.
5. Hit the orange Save Config button.
Go to your store and reload. You should see path specs in dashed boxes around all sections of the page. These paths tell you which template
1. Admin → System → Configuration.
2. Select your store from the drop-down in the upper-left corner and wait for the page to reload. Note that you have to be on the website level or lower. The ‘Template Path Hints’ option will not be visible if you are at a higher level.
3. Advanced → Developer (all the way at the bottom).
4. Template Path Hints → Yes.
5. Hit the orange Save Config button.
Go to your store and reload. You should see path specs in dashed boxes around all sections of the page. These paths tell you which template
.phtml
file is responsible for that section.
No comments:
Post a Comment