Many friends use WordPress and WooCommerce to build their own Foreign Trade Independent Websites. On the product detail page, a tab labeled 'Other Information' (called Additional Information in English) often appears, as shown in the image below. This article by Naiba teaches you how to remove this Additional Information tab.

There are two ways to remove the Additional Information tab.
1. Use CSS code to hide it. This way, users won't see it, but the code remains./* Hide the additional information tab */
li.additional_information_tab {
display: none !important;
}The specific code above needs to be determined based on your Theme's corresponding class. Therefore, directly copying and pasting it into your website's stylesheet may not work.
2. Use code to block its output.// Remove the additional information tab
add_filter( 'woocommerce_product_tabs', 'naibabiji_remove_product_tabs', 9999 );
function naibabiji_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] );
return $tabs;
}Copy the code above and paste it into your website's Theme functions file, then save it. For beginners, the second method is recommended. You don't need to figure out the Theme code; just copy and paste. If this article was helpful, please help promote Naibabiji.
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.