0

I'm trying to find a way to add a new custom layout for some products so I can just go to the Design Tab and choose the "Page Layout" from the dropout. I can only find CMS Layout pages in google. Also how do I then insert my own template files as view-custom.phtml, more-views-custom.phtml and media-bike.phtml.

I'm using version 1.9.1

Thanks a lot.

2
  • What version of Magento is this for?
    – Ben Crook
    Jun 16, 2017 at 12:12
  • Edit it, ita v1.9.1
    – Stefan
    Jun 16, 2017 at 12:13

1 Answer 1

0

1) To create a new template page, you can follow this

2) To set a layout for some pages, you have to add this in : app/design/frontend/{package}/{theme}/layout/local.xml

<your_layout_handle> //<catalog_category_default> for category page for exemple
    <reference name="root">
        <action method="setTemplate"><template>page/2columns-left.phtml</template></action> // 2columns-left.phtml for exemple
    </reference>
</your_layout_handle>`

or

<your_layout_handle> //<catalog_category_default> for category page for exemple
    <action method="setTemplate" block="root">
        <template>page/2columns-left.phtml</template> // 2columns-left.phtml for exemple
    </action>
</your_layout_handle>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.