deelite
deelite

Reputation: 355

magento - products in 2col_with_right_col and category lists in 3col layout

I a little confused at the moment.

I'd like to show the category lists in 3cols layout. That works.

But the products I'd like to show in 2cols with right col. I can change the layout for every single product - but I'd like to set this layout generally for all products.

How can I do this?

Upvotes: 0

Views: 45

Answers (1)

Martin
Martin

Reputation: 2673

use file catalog.xml in your template, for example:

magentofolder/app/design/frontend/default/default/layout/catalog.xml (default/default should be your layout pages)

for anchod and non-nachor categories update:

<catalog_category_default translate="label"> (non-anchor)

<catalog_category_layered translate="label"> (anchor)

<catalog_product_view translate="label"> Catalog Product View (Any)

edit row <action method="setTemplate"><template>page/2columns-right.phtml</template></action>

to

<action method="setTemplate"><template>page/3columns.phtml</template></action>

Upvotes: 2

Related Questions