2011-11-25 22 views

回答

4

你應該在XML做到這一點(的佈局文件)

東西像這樣:

<default> 
    <reference name="left"> 
     <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml" before="-"/> 
    </reference> 
</default> 

通知之前=的「 - 」這將它移到頂部

+0

在我的catalog.xml和catalogsearch.xml上做了這件事,沒有任何動作 – 3Cdesign

+1

也許學習塊也在之前=「 - 」搜索它的XML。並且記住在更改XML佈局後更新緩存。 – khoekman