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

How Do I choose which templates to use? 
 
picos
Jr. Member
 
Total Posts:  4
Joined:  2008-05-02
 

Hello,

Could someone be kind enough to tell me how to choose which template a product will use?  I see you can see the category template but the actual product page is using a default.  I would like to use the 3 column template for my products so other options are showing on the page but I can’t see where you set this option.

Also, can you choose which template the shopping cart page uses etc? 

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Danielc1234
Sr. Member
 
Avatar
Total Posts:  175
Joined:  2008-01-09
Miami, FL - United States
 

I would like to know this as well.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lazzymonk
Guru
 
Avatar
Total Posts:  391
Joined:  2008-04-03
England
 

i believe they are set in the layout xml files (app\design\frontend\default\default\layout)

find the following line and change it for the layout you want.

<action method="setTemplate"><template>page/2columns-right.phtml</template></action>

the options available (unless you have added your own) are

page/1column.phtml
page/2columns-right.phtml
page/2columns-left.phtml
page/3columns.phtml

be warned that changing the layout of things like the cart may require changes in the css to keep the appearance.

hope that helps

 
Magento Community Magento Community
Magento Community
Magento Community
 
Danielc1234
Sr. Member
 
Avatar
Total Posts:  175
Joined:  2008-01-09
Miami, FL - United States
 

Thanks a lot. I think your right.

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