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

i want to add a block in product details page,here is my approach
 
dasarathi123
Jr. Member
 
Total Posts:  7
Joined:  2011-11-10
 

Hi Forums,

I make changes in layout.xml and and call it in catalog/product/view.phtm
like echo $this->getChildHtml(’recommend’), but its not coming is it right approach .........?
I don’t think that it is right approach,can any body help me out

<catalog_category_default>
<reference name="recommend">
<block type="catalog/product_list" name="catalog.product_list" as="recommend_list" template="catalog/product/view/recommend.phtml">
</block>
</reference>
</catalog_category_default>

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