Get Rid of Additional Information in WooCommerce Products

I'm trying to get rid of the "Additional Information" box in my WooCommerce Products and i can't seem to do it.

I try adding the following CSS in the Theme Options CSS tab. No Change

/* To hide the additional information tab */

li.additional_information_tab {

    display: none !important;

}


I then tried adding the following PHP in the file manager:

englishcocker.org> Public_html> wp-content> themes> betheme-child

/** Remove product data tabs */

 

add_filter( 'woocommerce_product_tabs', 'my_remove_product_tabs', 98 );

 

function my_remove_product_tabs( $tabs ) {

  unset( $tabs['additional_information'] ); // To remove the additional information tab

  return $tabs;

}


No change.

Please can you tell me what else i can do to remove the Additional Information box from my WC Products.

Terry

Comments

Sign In or Register to comment.