WooCommerce by default supports 3 Product tabs in Product Detail Page. You can remove specific or all product tabs based on requirement.To remove the product tabs you have to follow the steps given below.
To remove product tabs from product detail pages you need to add the following lines of code in your theme's functions.php
file. Just append the following lines of code at the bottom of functions.php
add_filter( 'woocommerce_product_tabs', 'magik_woo_remove_product_tabs', 98 );
function magik_woo_remove_product_tabs( $tabs ) {
unset( $tabs['description'] ); // Remove the description tab
unset( $tabs['reviews'] ); // Remove the reviews tab
unset( $tabs['additional_information'] ); // Remove the additional information tab
return $tabs;
}
You can unset any of above product tabs or all product tabs.Then these Product tabs will not display in product detail page. If you face any problems or need our professional services, please email us at [email protected] .
Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.