Try the Demo

Magento Forum

   
Any ideas on how to move compare products block from right to left side
 
Claudio Vargas
Jr. Member
 
Total Posts:  22
Joined:  2007-12-23
 

Hi

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?

 
Magento Community Magento Community
Magento Community
Magento Community
 
hez
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-02-02
 

Try turning on the Template hints - it will show you on your page the files where all the different elements come from

System/Configuration
Change to your store
Developer
Template Path Hints - Yes

Heather

 
Magento Community Magento Community
Magento Community
Magento Community
 
Claudio Vargas
Jr. Member
 
Total Posts:  22
Joined:  2007-12-23
 

Awesome!! Thanks ohminu!! everything looks great now!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
aaronmark
Jr. Member
 
Avatar
Total Posts:  18
Joined:  2008-02-29
Nampa, ID
 

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…

 Signature 

Siamese centaurs, joined at the horse.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1652
Joined:  2007-12-14
Illinois, USA
 

Sweet, thanks!  This may be a dumb question but how do you access the Newsletter and Community Poll boxes?  They weren’t in that code.

 Signature 

UX Manager, Sweet Tooth
Creativity is falling in love with the world. – Dewitt Jones
I’m a very random person, catch me if you can: http://www.twitter.com/sherrierohde

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  519
Joined:  2008-07-13
Portland, OR
 

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.

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
Pixxa
Sr. Member
 
Total Posts:  275
Joined:  2008-10-23
 

same here!

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  519
Joined:  2008-07-13
Portland, OR
 

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.

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
vikashdwi
Jr. Member
 
Total Posts:  3
Joined:  2012-02-25
 

Go to :

Magento Root app\design\frontend\base\default\layout

Copy your catalog.xml to local temptale

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>

 
Magento Community Magento Community
Magento Community
Magento Community
 
Monty22
Guru
 
Avatar
Total Posts:  645
Joined:  2013-01-01
 

Hi,

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.

Thanks,

Monty
iLoveMage

 Signature 

Get 15% discount on all our extensions Use code MON15 | Risk-free purchase with our 14 days Money Back Guarantee policy!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top