Magento - Remove tab from product view using local.xml

Magento - Remove tab from product view using local.xml

July 6, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento - Remove tab from product view using local.xml

Removing Specific Product Tabs from Magento using local.xml

As a senior developer specializing in e-commerce platforms like Magento, I often encounter queries about customizing the product view page to meet specific business requirements. One common request is how to remove an existing tab from the product information section without simply commenting out the relevant XML code.

In this post, we’ll walk through a step-by-step process of removing the “Additional Information” tab that displays attributes using the local.xml file. This approach provides a clean and proper way to modify your Magento store’s layout as compared to editing core files directly.

Understanding the Default Product View Layout

Before diving into the removal process, let’s first understand how the product view tabs are defined in Magento. By default, the additional information tab is added via the catalog.xml file located at <magento_root>/app/design/frontend/<package>/<theme>/layout/catalog.xml.

<!-- Default catalog layout -->
<default>
    <reference name="product.info">
        ...
        <action method="addTab" translate="title" module="catalog">
            <alias>additional</alias><title>Additional Information</title>
            <block type="catalog/product_view_attributes"/>
            <template>catalog/product/view/attributes.phtml</template>
        </action>
    </reference>
</default>

Removing the Additional Information Tab using local.xml

To remove this specific tab, we’ll create a new local.xml file in our theme directory at <magento_root>/app/design/frontend/<package>/<theme>/layout/local.xml. This file allows us to override and extend the default layout without modifying core files.

Here’s how you can achieve the removal using the removeChild method:

<!-- local.xml -->
<layout version="0.1.0">
    <default>
        <reference name="product.info">
            <action method="removeChild"><name>additional</name></action>
        </reference>
    </default>
</layout>

In this code snippet, we’re targeting the product.info block and using the removeChild action to delete the child node with the alias “additional”. This effectively removes the tab from being displayed on the product view page.

Best Practices for Layout Modifications

When making layout modifications in Magento, it’s crucial to follow some best practices:

  1. Always override layouts using local.xml rather than editing core files directly.
  2. Be specific about which child nodes you need to remove or modify.
  3. Test changes thoroughly before deploying them to a live environment.

Conclusion

In this post, we demonstrated how to properly remove the “Additional Information” tab from your Magento product view page using the local.xml file. This approach offers a clean and sustainable solution for customizing the layout according to your business needs.

Remember, when working with Magento layouts, it’s always essential to understand the default structure before making modifications. By following the best practices outlined above, you can easily achieve desired layout changes without compromising the core functionality of the platform.

For more advanced customization techniques and Magento development guides, feel free to explore our comprehensive resources at Laravel Company. Happy coding!

Catalog Extensions Themes Configuration

Our network