cancel
Showing results for 
Search instead for 
Did you mean: 

Cart in right column

Cart in right column

Just installed Magento 1.9.1.1 and see the cart widget in left sidebar in the design "Default->Default" 3 columns. The cart is now in left sidebar. When changing design to 2 columns with right bar, I have no cart. How do I move the cart to right bar ?

Tags (1)
4 REPLIES

Re: Cart in right column

Do you move block cart from left to right column in catalog.xml?

Highlighted

Re: Cart in right column

@xukadon't copy or edit any of the existing layout XML files. You should create a local.xml file in your template folder.

You can move it with this code:

<?xml version="1.0" encoding="UTF-8"?>
<layout>
    <default>
        <reference name="left">
            <action method="unsetChild"><name>cart_sidebar</name></action>
        </reference>
        <reference name="right">
            <action method="insert">
                <blockName>cart_sidebar</blockName>
            </action>
        </reference> 
</default>
</layout>

I didn't test the code, but unsetChild and insert are the methods you need.

If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this

Re: Cart in right column

Thanks. This did the trick.

Re: Cart in right column

That's great! Good luck with your webshop.

 

Also, could you mark this topic as solved?

If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this