Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Change layout of product page?? 
 
iceturtle4
Jr. Member
 
Total Posts:  1
Joined:  2012-02-27
 

Sorry if this has been posted before, but in a time crunch and can\’t seem to find the remedy. Looking to change layout of product page so the DETAILS section is actually above the product and add to cart buttons. What file can I get into to switch this? I am using the telescope theme…

image of switch I would like

 
Magento Community Magento Community
Magento Community
Magento Community
 
macjd527
Member
 
Total Posts:  43
Joined:  2012-02-19
 

Ive been trying to figure out how to edit the layout of the product pages for quite some time now as well.

 
Magento Community Magento Community
Magento Community
Magento Community
 
SarathTomy
Sr. Member
 
Avatar
Total Posts:  146
Joined:  2009-03-13
Melbourne, Australia
 

1. Go to app/design/frontend/<theme>/default/layout/catalog.xml
2. Search for catalog_product_view
3. There you can see

<reference name="root">
            <
action method="setTemplate"><template>page/3columns.phtml</template></action>
        </
reference>

4. Change the page layout inside the <template> tag.

Also Remember the template system in magento consists of:

XML layout configuration
PHP template files
PHP block classes

All layout XML files will be found in the app/design/frontend/<interface>/<theme>/layout folder.

All template files will be in the .phtml files found in various folders under the app/design/frontend/<interface>/<theme>/template folder.

All blocks will be in the app/code/<core,local,community>/<namespace>/<module>/Block folder.

You may not find all the layout/template files in same theme(telescope).
For example, Magento will check the following folders, in order, for a file named catalog.xml: 

app/design/frontend/interface/telescope/layout/
app/design/frontend/interface/default/layout/
app/design/frontend/base/default/layout/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cohuang
Jr. Member
 
Total Posts:  4
Joined:  2013-03-14
 
SarathTomy - 28 February 2012 12:50 AM

1. Go to app/design/frontend/<theme>/default/layout/catalog.xml
2. Search for catalog_product_view
3. There you can see

<reference name="root">
            <
action method="setTemplate"><template>page/3columns.phtml</template></action>
        </
reference>

4. Change the page layout inside the <template> tag.

Also Remember the template system in magento consists of:

XML layout configuration
PHP template files
PHP block classes


All layout XML files will be found in the app/design/frontend/<interface>/<theme>/layout folder.

All template files will be in the .phtml files found in various folders under the app/design/frontend/<interface>/<theme>/template folder.

All blocks will be in the app/code/<core,local,community>/<namespace>/<module>/Block folder.

You may not find all the layout/template files in same theme(telescope).
For example, Magento will check the following folders, in order, for a file named catalog.xml: 

app/design/frontend/interface/telescope/layout/
app/design/frontend/interface/default/layout/
app/design/frontend/base/default/layout/

Just wonder how to add a product list under the product page? like dispalying some best selling product on the bottom of page. Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top