how to move left sidebar to right sidebar in magento


app/design/frontend/carpetnrugs/default/layout

there is a file catalog.xml
open it and look for

<catalog_category_layered>

and add this inside this block

<reference name=”root”>
<action method=”setTemplate”><template>page/2columns-left.phtml</template></action>
</reference>

The code should be changed from this:

<catalog_category_default>
<reference name=”left”>
<block type=”catalog/navigation” name=”catalog.leftnav” after=”currency” template=”catalog/navigation/left.phtml”/>
</reference>
<reference name=”content”>
<block type=”catalog/category_view” name=”category.products” template=”catalog/category/view.phtml”>
<block type=”catalog/product_list” name=”product_list” template=”catalog/product/list.phtml” />
</block>
</reference>
</catalog_category_default>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s