To show Product details and add to cart link at the end of product view page i have created a new block like follows, in local.xml file i have added following lines
<catalog_product_view> <reference name="content"> <block type="page/html" name="product_footer" template="productblock/productfooter.phtml"> <block type="catalog/product_footer_view" name="product.info.view" as="footer.view" template="catalog/product/footer_view.phtml"> <block type="catalog/product_view" name="product.info.addtocart" as="addtocart_footer" template="catalog/product/view/addtocart_footer.phtml"/> <block type="catalog/product_view" name="product.info.media" as="media_footer" template="catalog/product/view/media_footer.phtml"/> </block> </block> </reference> </catalog_product_view> and created productfooter.phtml with <?php echo $this->getChildHtml('footer_view'); ?>.And also duplicated view.phtml,media.phtml,addtocart.phtml. Now the block is there in my product view page but the footer_view.phtml is not displaying anything.Please help me to find the mistake in my code.