Remove Additional Information Tab @ Single Product

On the single product page, the “Additional Information” tab is a little unpleasant and, to be honest, very worthless.

There are 2 straightforward ways to “hide” it or remove it entirely: a CSS trick and a PHP fix. You can type the code in your preferred style but obviously, PHP is a better solution!

Always keep in mind that PHP is superior to CSS since PHP prevents the element from loading while CSS loads the element and subsequently hides it.

PHP Snippet

add_filter( 'woocommerce_product_tabs', 'remove_product_tabs', 9999 );

function remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] ); 
return $tabs;
}

Where to add this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (delete “?>” if you have it there). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files.

Alternative Method to Hide Additional Information tab

I made the decision to hunt for a dependable plugin that accomplishes the same goal because I know that many readers would want to code but aren’t completely comfortable doing so.

I advise using the YITH WooCommerce Tab Manager plugin in this situation. You can remove basic tabs like “Reviews” and “Description,” but you can also add your own, make tabs display or hide depending on a product ID or category, print any material inside the new tabs like custom shortcodes, and do a lot more.

Last updated