I´m trying to move the compare products block from the right side to the left side. My idea is to place it on top of the layered navigation block so I can leave the right side to display more products.
Any ideas on how to do this since there is no xml file in the layout folder magento\app\design\frontend\default\default\layout for the compare products block?
I tried the above but it does not work for me. Are you sure the compare block should be inside <reference name="right">? That doesn’t seem to make sense, since we’re trying to move it to the left… It doesn’t work for me when I put it inside <reference name="left"> either, though…
Did anyone get the ‘left’ vs. ‘right questions sorted out? Mine also has a ‘left’. Also, I’d like mind to be ‘after’ and not ‘before’. Any help here would be great.
It became clear after looking at catalog.xml a little closer that the left/right question is for when you have left/right columns setup. Also, I found that the before and after can be applied to most of the sidebar column widgets (compare, cart, related). What I can’t figure out is how to place a banner ad below all of the widgets.
And move your block from <reference name="right"> to <reference name="Let"> like I’ve moved my compare product block from right to left as given below:
<reference name="left">
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
<action method="setLinkUrl"><url>checkout/cart</url></action>
</block>
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
</reference>
<reference name="right">
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
<action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>Keep your eyes open for our special Back to School items and save A LOT!</alt></action>
</block>
</reference>
You need to open catalog.xml, find the compare block and change “right” to “left”.Don’t forget to clear cache after all changes with layouts.if you still looking for any Issue, you can contact us as we are one of the magento extension developers.