Home Forums WoodMart support forum Delete – button additional information by all products

Delete – button additional information by all products

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #404208

    [email protected]
    Participant

    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?

    #404213

    [email protected]
    Participant

    pic – attached

    Attachments:
    You must be logged in to view attached files.
    #404818

    Luke Nielsen
    Keymaster

    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

    #405421

    [email protected]
    Participant

    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

    #405457

    Luke Nielsen
    Keymaster

    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

    #405626

    [email protected]
    Participant

    yeah – now its working -t hx 🙂

    #405855

    Luke Nielsen
    Keymaster

    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

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Delete – button additional information by all products’ is closed to new replies.