Website Building » WooCommerce » How Do I Remove a Product Tab in WooCommerce?

How Do I Remove a Product Tab in WooCommerce?

Last updated on January 14, 2023 @ 5:54 am

If you want to remove a product tab in WooCommerce, there are two ways to do it. One way is to use the WooCommerce Tab Manager plugin. With this plugin, you can easily remove any tab from the product page. The other way is to edit the code of your theme. If you know how to edit code, then this method is for you.

To remove a product tab in WooCommerce using the Tab Manager plugin, follow these steps:

1. Install and activate the Tab Manager plugin.

2. Go to Products > Tabs.

3. Find the tab that you want to remove and click on the trash icon.

4. Save your changes.

That’s it! The selected tab will be removed from the product page.

PRO TIP: If you are unsure about how to remove a product tab in WooCommerce, it is best to consult with a WooCommerce expert before taking any action. Removing a product tab in WooCommerce can have unintended consequences, such as affecting the layout of your product pages or breaking functionality.

If you want to remove a product tab in WooCommerce by editing your theme’s code, follow these steps:

1. Go to Appearance > Editor. On the right side, look for the Theme Functions (functions.php) file and click on it.

Find the following code:

"// Add default tabs on single product page".
"add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );".
"function woo_new_product_tab( $tabs ) {".

"// Adds the new tab".

"$tabs['new_tab'] = array("..

"'title' => __( 'New Tab', 'woocommerce' ),".
"priority' => 50,". // Priority (50 = after Description).
"callback' => 'woo_new_product_tab_content'". // Content callback function is below ). ); return $tabs; }

Tabs from products pages in WooCommerce can be managed two ways: with a plugin or by editing your theme’s code. If you know how to code, then editing your theme’s code is the best way to remove tabs from products pages in WooCommerce.

Option 1: Use A Plugin (Recommended): If you’re not a developer or are not comfortable editing your theme’s code, then using a plugin is the best way to manage tabs on products pages in WooCommerce.

Option 2: Edit Your Theme’s Code: If you know how to edit your theme’s files and are comfortable with doing so, then editing your theme’s code is the best way to manage tabs on products pages in WooCommerce.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.