remove additional information tab
-
Hello,
i want to remove additional tab on all my products page.
https://drive.google.com/file/d/12r01oNHHkTxNyhpg5LF0UNiTDt33P1sR/view?usp=drivesdk
how can i do it?
Regards.
Hello,
To remove the additional information tab from your product page you can use the below custom code in your child theme funtions.php:
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] ); // Remove the additional information tab
return $tabs;
}
Best Regards.
where is the functions.php?
Hello,
To use the code you need to use the child theme functions.php file from wp-content/themes/woodmart-child/functions.php.
Screenshot for Clarification: https://ibb.co/2dfTxhp
Best Regards.