I am new in magento i am getting issue while calling the view.phtml file in custom layout.
Folowing is my code which is i am including in cutom layout file but i am getting Fatal error “Fatal error: Call to a member function getMetaTitle() on a non-object in D:\wamp\www\projects\magento\app\code\core\Mage\Catalog\Block\Product\View.php on line 56”.
<?php echo $this->getLayout()->createBlock('catalog/product_view')->setTemplate('catalog/product/view.phtml')->toHtml(); ?>
Please reply me for this issue.
Thanks in advance.