- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2015
09:58 PM
05-18-2015
09:58 PM
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 ?
Labels:
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2015
01:44 AM
05-20-2015
01:44 AM
Re: Cart in right column
Do you move block cart from left to right column in catalog.xml?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2015
01:07 PM
05-20-2015
01:07 PM
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
If this response solved your problem, click accept as solution to help others solve this
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2015
06:47 AM
05-21-2015
06:47 AM
Re: Cart in right column
Thanks. This did the trick.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2015
01:58 PM
05-21-2015
01:58 PM
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
If this response solved your problem, click accept as solution to help others solve this