Delete – button additional information by all products
-
Hi,
1. how we can delete “just” the additional information button on all products? see attached the picture
2. How we can deactivate all “compare” functions in Woocommerce and deactivate the buttons?
pic – attached
Attachments:
You must be
logged in to view attached files.
Hello,
1. The below code will help you to remove the “Additional information” tab.
if ( ! function_exists('my_remove_additional_tab') ) {
function my_remove_additional_tab( $tabs ) {
unset( $tabs['additional_information'] ); // Remove the additional information tab
return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'my_remove_additional_tab', 98 );
}
2. In order to disable the “Compare” functionality, please navigate to Theme Settings -> Shop -> Compare -> turn off these 2 option (“Enable compare”, “Show button on product grid”).
https://prnt.sc/4KXsYr8hiSwN
Thanks for your time and have a great day.
Kind Regards
Thank you for your fast response 🙂
first point doesnt work – sry… the CSS code does nothing – the “zusätzliche Information” tab is still there
second point worked great – thank you 🙂
can you pls check again 🙂
thank you
Hello,
1. Sorry, I forgot to say that this code you should add to the functions.php
file in your child theme, after that please check again.
Kind Regards
yeah – now its working -t hx 🙂
Glad that everything is sorted out!
Always remember that you can reach out to us with any questions you may have.
We wish you a splendid day!
Kind Regards
The topic ‘Delete – button additional information by all products’ is closed to new replies.