Many friends use WordPress and WooCommerce to build their foreign trade independent websites. On the product detail page, an Additional Information tab usually appears, as shown in the figure below. This article teaches you how to delete this Additional Information tab.

There are two ways to delete the Additional Information tab.
1. Use CSS code to hide it, so users can'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, so 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 Theme's functions file, then save it. For beginners, the second method is recommended, as you don't need to figure out the Theme code; just copy and paste. If this article helps you, remember to 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.