April 10, 2024

Remove Additional Information Tab in WooCommerce with a Code Snippet

Play Video

Removing the Additional Information tab in WooCommerce can streamline your product pages, making them more user-friendly. This tutorial will show you how to easily accomplish this with a simple code snippet.


Prerequisites

Please make sure you have the following installed and activated:


Why Hide the Additional Information Tab?

The Additional Information tab in WooCommerce product pages can sometimes be redundant or unnecessary, depending on the type of products you sell. For many online stores, the details typically listed under this tab, such as weight and dimensions, might not be relevant or useful to customers. Here are a few reasons why you might choose to remove this tab:

  • Simplify Product Pages
    Removing unnecessary tabs can help declutter your product pages, making them easier to navigate for your customers. A cleaner layout improves user experience by focusing on essential product details only.
  • Enhance User Experience
    By eliminating the Additional Information tab, you can streamline the shopping process for your customers, allowing them to find the information they need quickly without having to sift through irrelevant details.
  • Improve Page Load Times
    Each element on your product page adds to the load time. By removing non-essential tabs, you can slightly improve your page load times, contributing to a faster and smoother shopping experience.
  • Focus on Important Content
    If the critical information about your products can be adequately covered in the Description tab or through custom tabs tailored to your specific needs, then removing the Additional Information tab can help keep the customer’s attention where you want it.

Instructions to Remove Additional Information Tab in WooCommerce

  1. Navigate to Code Snippets > Add New to create a new snippet.
  2. Give your snippet a descriptive title, such as “Remove Woo Tabs”, copy the following code snippet and paste it into the Code Snippets text area:
    function codesnippets_remove_woocommerce_tabs( $tabs ) {
        /*unset( $tabs['description'] );*/
        unset( $tabs['additional_information'] );
        unset( $tabs['reviews'] );
        return $tabs;
    }
    
    add_filter( 'woocommerce_product_tabs', 'codesnippets_remove_woocommerce_tabs', 99 );

    Source: Code Snippets Cloud

    Give your snippet a descriptive title, such as Remove Woo Tabs, copy the following code snippet and paste it into the Code Snippets text area

    Note: Comment out the tabs you want to hide with /*.

  3. Save changes and activate the snippet to hide the additional information tab.
    Save changes and activate the snippet to hide the additional information tab

Official Documentation


Remove Additional Information Tab in WooCommerce – Conclusion

With just a few steps, you’ve successfully removed the Additional Information tab from your WooCommerce product pages. This change can make your site cleaner and more focused on the most important product details.

Required Resources

WooCommerce Logo
Free Options
Code Snippets Logo
Free Options
Credit to Web Squadron
Web Squadron is a popular YouTube channel dedicated to providing informative tutorials, tips, and insights on web development and design. With a strong focus on WordPress and website builders like Bricks Builder, the channel aims to help users of all skill levels, from beginners to advanced developers, create and optimize their websites. By offering easy-to-understand, step-by-step guidance, Web Squadron provides practical and valuable content.
Visit
Remove Additional Information Tab in WooCommerce with a Code Snippet
Welcome back!
Enter your Helwp credentials to sign in.

No Account yet? Sign Up

My Account
Menu
Give Feedback
Describe your feedback *
Rate Helwp
Share
Facebook
Twitter
LinkedIn
Reddit
Email
WhatsApp
Telegram
Pocket
Report
Problem *
Describe the problem
Want us to reply?
Your E-Mail
Affiliate Disclosure

At Helwp, we’re committed to transparency and honesty. Therefore, we want to inform you that some of the links on our website are affiliate links. This means that, at no additional cost to you, we may earn a small commission if you click through and make a purchase.

We only promote products or services that we genuinely believe in. These affiliate commissions help us to maintain the website and continue to provide you with free, high-quality WordPress content.

If you are interested in how you can support us even further, check out our support page.