0
votes

In my Magento installation I have a category that uses a view.phtml that is different from all other views. In my category settings I use this for Custom Layout Update:

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

But when I click on a product from this category via my New Products widget at my homepage, I get the standard view.phtml.

Any ideas?

2

2 Answers

0
votes

Make sure to set Apply to Products to Yes. Aside from that, make sure your namespace and path for your custom view are correct.

0
votes

Try to override in your template the catalog.xml layout for the catalog_product_view and set the template there like this

........
<reference name="content">
        <block type="catalog/product_view" name="product.info" template="catalog/product/view_stoffen.phtml">
.....

you can do this by copying the catalog.xml from the base template to yours and editing it

hope it helps