🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Method to Remove the WooCommerce Additional Information Tab

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.Additional Information标签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.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

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.

×
二维码

Scan to Follow