I edited the catalog.xml file but still NOT working !!

Folder: /app/design/frontend/base/default/layout/catalog.xml

Code Removed: Line 56 <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>

Line 166 <action method="unsetChild"><name>catalog.compare.sidebar</name></action>

QTN: Is it the correct Folder ??

3 Answers 3


base/default is basically a core package/theme. Modifying it is generally considered a Bad Idea. Also, it's usually just a fallback of real theme, such as rwd/default (Magento CE 1.9) or default/default (earlier versions). Modifying your own theme or better yet, using local layout update file (local.xml) is highly recommended.

Simplest way perhaps is to use remove command.:

        <remove name="catalog.compare.sidebar" />

Please note that means that the sidebar is removed from ALL pages.

  • My local.xml is NOT working !! I tried to remove the Disc Coupon / Shipping Blk - AND DID'NT WORK !!!
    – Mave
    Jul 14, 2014 at 10:35
  • As I suggested you're probably experimenting on local.xml of wrong theme. base/default theme is the failover theme.
    – Pronto
    Jul 14, 2014 at 10:41

Never edit the base theme files!

Use an local.xml in your theme (pathtoyourtheme/layout/local.xml)

<?xml version="1.0" encoding="UTF-8"?>
        <action method="unsetChild"><name>catalog.compare.sidebar</name></action>

<remove name="catalog.compare.sidebar"/>

add this line where you want to remove.

<reference name="left">
     <remove name="catalog.compare.sidebar"/>
  • 1
    <remove /> works at the layout level, so it never belongs in a <reference />
    – benmarks
    Oct 26, 2015 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.