Magento: product specfic designs through 'Custom Layout Update'

Deadly 提交于 2019-12-04 09:38:08

Found the answer:

<reference name="product.info">
    <action method="setTemplate"><template>catalog/product/NEW_VIEW.phtml</template></action>
</reference>
Nithin Ninan

Navigate in the admin to Product->Design->Custom Layout Update >
Add the below custom block. > It works for all the stores.

"<reference name="product.info">
       <block type="namespace_modulename/catalog_product_list_custom" 
   name="catalog.product.modulename" as="modulename" after="tierprices" 
   template="modulename/catalog/product/modulename.phtml"/>
</reference> "

Add the below code in view.phtml

<?php echo $this->getChildHtml('modulename'); ?>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!