1

now as a default the product listing page gives me a layout structure(design). And all categories products use this same layout.

Now i'm tyring to differentiate one special category products in different layout(designs).

Below are the two wirframe that illustrates what I'm looking for.

Default Default product listing page

Desired product listing of one special category products lisiting layout new layout

Edited : My local.xml

<?xml version="1.0"?>

<layout version="0.1.0">
<default>
    <CATEGORY_496>
        <reference name="root">
            <action method="setTemplate"><template>page/1column.phtml</template></action>
        </reference>
    </CATEGORY_496>

</default>
</layout>

1 Answer 1

3

K.c you can do this by Layout xml changes. and you need change it Layout 1column.phtml.

<action method="setTemplate"><template>page/1column.phtml</template></action>

See at http://www.amitbera.com/how-to-change-page-layout-in-magento/

page/1column.phtml

Example:guess that your category id is 10.If you want to assign 1column desing then you need to put below code local.xml at app/design/frontent/ your package/your template/layout/

<CATEGORY_10>
    <reference name="root">
        <action method="setTemplate"><template>page/1column.phtml</template></action>
    </reference>
<CATEGORY_10>
2
  • i have updated my question with local.xml and it's not working as accordingly.
    – Suman K.C
    Commented Feb 3, 2015 at 12:49
  • 1
    please check admin design setting
    – Amit Bera
    Commented Feb 3, 2015 at 13:02

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.