PHP, Wordpress

Woocommerce: Remove additional information tab on product page

For quick and easy e-commerce website, I always go to Woocommerce. Sometimes, I just install, do the initial set up, add the products, set up the shipping and payment and I am good to go.

I don’t even usually edit my Woocommerce template to look better, I usually just go for the defaults. The defaults are okay, they will get you up and running in no time, but one of the annoying section for me is the “Additional Information” tab which I never use and most of the Woocommerce sites that I see doesn’t use theirs either. I just see a blank tab so might as well get it out.

For a quick removal of the “Additional Information” tab, open your theme’s functions.php file and add the code right down below.

add_filter( 'woocommerce_product_tabs', 'remove_addtnl_info_tab', 9999 );
  
function remove_addtnl_info_tab( $tabs ) {
    unset( $tabs['additional_information'] ); 
    return $tabs;
}

Save and refresh! 🙂