Thursday, 4 May 2017

How to create a different product page structure for specific products in magento?



<reference name="product.info">
<action method="setTemplate">
<template>catalog/product/view-recipe.phtml</template>
</action>
</reference>
Step 1 :-  Admin => Catalog => Manage Product => Select this specific products => Left design section => Custom Layout Update (Add this above code)

Step 2 :- Then "view-recipe.phtml" upload the file this path
app/design/frontend/rwd/theme name/template/catalog/product/

No comments:

Post a Comment