Plugin Support
Rynald0s.a11n
(@rynald0s)
Automattic Happiness Engineer
Hi @naveen73!
You can use some code to remove these tabs. You’ll find the code here:
https://rudrastyh.com/woocommerce/remove-product-tabs.html
I have to mention, however, that the “size guide” tab isn’t a default WooCommerce tab, so that is likely custom added. You can remove the code snippet responsible for adding that bit.
Here is how you can add custom code to your site the correct way:
http://rynaldo.com/how-to-add-custom-code-to-your-woocommerce-wordpress-site-the-right-way/
Cheers!
Hi there,
I hope you found the previous reply helpful. We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Hi,
Sorry for the delay.
I have been looking at this but was not able to work it out.
On the product page, I am able to remove the “reviews” tab.
But the “size guide” and “additional information” tabs I am not able to remove.
The link says that this is the code for removing “additional information” tab:
add_filter( 'woocommerce_product_tabs', 'misha_remove_description_tab', 11 );
function misha_remove_description_tab( $tabs ) {
unset( $tabs['description'] );
return $tabs;
}
1. Where can I find the pages to change this code, please?
2. Am I correct to say that in the line that says:
unset( $tabs[‘description’] );
I have to replace the word “description” to “additional information”? Or do I have to make changes somewhere else?
Thanks,
Naveen
Hi Naveen,
You can change/remove the “Size Guide” Tab in Porto > Theme Options > Woocommerce > Single Product > Global Product Custom Tab Title.
The tab “Additional Information” is created to show the attributes of the product. If you remove all the attributes the tab disappear.