How to disable 'shop by categories' block on left side of Magento products page

How to disable 'shop by categories' block on left side of Magento products page

August 18, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to disable 'shop by categories' block on left side of Magento products page

Disabling the ‘Shop by Categories’ Block on Magento Products Page

Hello Dion,

Thank you for reaching out about your Magento eCommerce setup. I understand that navigating the intricacies of theme customization can be challenging. Let’s dive into how to disable the ‘Shop by Categories’ block on the left side of your product page.

Why Disable the Category Block?

Before we begin, let me briefly clarify why you might want to remove this block:

  1. Simplify Layout: A clean, uncluttered layout can improve user experience and focus attention on products.
  2. Space Utilization: Removing the sidebar allows for more space to display your product listings.
  3. Custom Design: You may wish to create a unique design that doesn’t include this feature.

Step-by-Step Guide

To disable the category block, we’ll need to modify your theme’s layout XML file and template files. Here’s how:

  1. Locate the Layout File The layout file responsible for the left sidebar is typically located in app/design/frontend/{vendor}/{theme}/layout/catalog.xml. Open this file with a text editor.

  2. Identify the Relevant Block

    <reference name="left">
        <block type="catalog/navigation" before="-" template="catalog/layer/view.phtml"/>
    </reference>
    

    The type="catalog/navigation" line corresponds to the category block we want to disable.

  3. Comment Out the Block To temporarily disable this block, simply surround it with <!-- and --> comment tags:

    <!---
    <reference name="left">
        <block type="catalog/navigation" before="-" template="catalog/layer/view.phtml"/>
    </reference>
    --->
    
  4. Save and Refresh

    Save the changes to catalog.xml and refresh your product page in the browser. The category block should now be absent.

Alternative Method: Disabling via Magento Admin

If you prefer a more user-friendly approach, you can also disable the category sidebar directly from the Magento admin panel:

  1. Navigate to Stores > Configuration > Sales > Catalog > Storefront.
  2. Scroll down to the ‘Category Columns’ section.
  3. Set ‘Enabled’ to No.
  4. Save the configuration.

Conclusion

Disabling the ‘Shop by Categories’ block is a straightforward process involving modifying your theme’s layout XML files or adjusting settings in the Magento admin panel. Remember, these changes are specific to your current theme; if you switch themes, you may need to repeat this process.

For more advanced customizations and professional support, consider reaching out to our team at Laravel Company. We specialize in Magento development and can help optimize your eCommerce platform for maximum performance and user experience.

Thank you once again for your questions. I hope this guide helps you achieve the layout you desire. Let me know if you have any other queries!

Best, [Your Name] Senior Developer, Laravel Company

Catalog Themes

Our network