Magento Forum

   
Show sidebar cart block on cart page
 
omikronz
Jr. Member
 
Total Posts:  2
Joined:  2011-11-08
 

By default magento seems hides the mini cart sidebar block when on the cart page, which under most circumstances would make since. However, in my design the cart is at the top of header and wouldn’t make sense for it to just not show on the cart page.

How can I make it so the mini cart block doesn’t stop showing on the cart page (checkout/cart and any other page that hides it)?

 
Magento Community Magento Community
Magento Community
Magento Community
 
guiltyvictim
Member
 
Total Posts:  71
Joined:  2010-06-03
 

Sorry I can’t test this out easily, but try editing:

app\design\frontend\[package name]\[theme name]\layout\checkout.xml

You should find the code:

<checkout_cart_index translate="label">
        <
label>Shopping Cart</label>
        <
remove name="right"/>
        <
remove name="left"/>
        <!-- 
Mage_Checkout -->
        <
reference name="root">
            <
action method="setTemplate"><template>page/1column.phtml</template></action>
        </
reference>

Comment out the appropriate <remove> tags, and change the setTemplate method to your 2columns-[left or right].phtml file.

 
Magento Community Magento Community
Magento Community
Magento Community
 
omikronz
Jr. Member
 
Total Posts:  2
Joined:  2011-11-08
 

Thanks, this worked perfectly for any page where it wasn’t showing.

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