move category block

Hi, how can i move category block on right sidebar upon cart block?
in the top of right side bar?

tank’s a lot and congratulation for your great work!

2 answers

Profile photo of thangnn1510 0.00 $tone January 6, 2011
Public

Dear Altravista!

Regarding your question, please do some simple steps:

-- Copy checkout.xml from app\design\frontend\base\default\layout\ to app\design\frontend\default\jm_lime\layout

-- Change <reference name="right"> tab from line 44 to line 51 of checkout.xml to become:

Code:

       <reference name="right">
            <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" after="catalog.leftcat">
                <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
                <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions"/>
            </block>
        </reference>

-- Change line 58 of catalog.xml from:

Code:

<block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>

to:

Code:

<block type="core/template" after="catalog.leftcat" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>

Hope this helps and good luck!

#1

This question is now closed

Written By

Comments