0

We have many different types of products on our website and for this reason, I have multiple attribute sets (e.g. default, beds, chairs, sofas).

All of the products under these attribute sets tend to hand different layouts, so all of my bed products would have the same layout but this layout would differ to that of a chair. To change this layout, I have to add the following to every product custom layout XML:

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

... but I wondered if it was possible to change which the view phtml file inside catalog.xml instead based on the attribute set name?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.