The Additional Information tab is a default tab in WooCommerce that displays technical details about a product, such as dimensions, weight, and attributes.

While this tab can be useful for some products, it may not be necessary for others.

In this article, we will explore how to remove the WooCommerce additional information tab on a single product page.

How To Remove the WooCommerce Additional Information Tab?

Removing the Additional Information tab in the WooCommerce single product page can simplify the product page and improve the customer experience.

By adding the following code, you can quickly remove this tab and customize the product page to suit your specific needs.

Here is the simple code snippet that will do the job:

/**
* @snippet Remove WooCommerce Additional Information Tab
* @source https://www.wptechnic.com/?p=7479
* @compatible WC 7.3.0
*/
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
    unset( $tabs['additional_information'] );  
    return $tabs;
}

After adding the code snippet, be sure to save the changes and test the WooCommerce single product page to verify that the Additional Information tab has been removed.

This will make your single product page look like this:

after removing additional information tab in woocommerce

How to add PHP Snippet code to your WordPress site?

There are many ways of adding a PHP Snippet code to your WordPress website. You can add this PHP Snippet at the very bottom of your active child theme (or main theme) functions.php file. You can also add this code using any third-party plugin.

Did it work for you?

Did this code work for your website? Or you’re having difficulties? Either way, let me know by leaving a comment below right now.

Avatar for Muhammad Tamzid
Author

Muhammad Tamzid, the founder of WPTechnic, is a WordPress Enthusiast with a passion to help beginners learning WordPress. Also managing WPrevival, a 24/7 WordPress Website Development, Maintenance & Security Service company.

Write A Comment