Ordering left column

On the painite template, I am trying to order (just a bit) the left column and I need to put the QUICK SEARCH box on the that column but any change I can operate to page.xml or catalog.xml (of course under /jm_painite/layout) do not help.

I can find the MY CART block on the page.xml:

Code:

<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" >
<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>

I have tried adding this

Code:

after="catalogsearch.leftnav"

but I don’t know the name of the QUICK SEARCH BLOCK cause the

Code:

after="catalogsearch.leftnav"

won’t work even though on catalogsearch.xml or this

Code:

<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml" before="-" />

Anyway all my attempts to push MY CART below the QUICK SEARCH are not working…

Your help is much appreciated

2 answers

Profile photo of Saguaros 0.00 $tone June 5, 2012
Public

Hi there,

In page.xml file, you can see this code:

Code:

<!--Display category on left-->
<reference name="left">
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml" before="cart_sidebar" />
<block type="catalog/navigation" name="catalog.leftcat" template="catalog/navigation/sidenav.phtml" />
</reference>

add this: before="cart_sidebar" to topSearch block. You can use after="name_of_other_block to change position of block.

Hope this help you.

#2

Please login or Register to Submit Answer

Written By

Comments