I want to customize the product page template file on my Magento site. I couldn't find a way to customize my product page template. Anybody please specify the exact file and the location of that file. I am using Magento version 1.7.0.2
15
votes
1 Answers
30
votes
You can find all the templates related to product view in the following directory.
Magento/app/design/frontend/default/your_theme/template/catalog/product/
You can customize more (if you want to know which template is for that particular block) with template path hints
http://www.pauldonnelly.net/magento-turning-on-template-path-hints/
UPDATE:
Copying content from the above link, in case the link may no longer exist.
What is Template Path hints
Template Path Hints are little tags which would lie on top of your shop frontend. These little tags enable you to view where exactly the code of a specific element is stored within your file structure. Bottom line Template Path Hints saves you alot of frustration.
How to turn on Template Path Hints?
- Open the admin control panel
- Open the system tab and select configuration
- Select Main Website or Name of your website (NOT DEFAULT CONFIG) from the Current Configuration Scope drop down
- Select Developer on the left sidebar
- Open the Debug drop down
- Set Template Path Hints To Yes
- Click on Save Config to save down your changes