Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2053474
removing the product tabs
Closed

Comments

  • ubermenschdavid started the conversation

    Hi there

    Can anyone please tell me if there is any option to remove the product tabs?

    i can find a button to remove the reviews tab, but still i also want to remove the additional_information tab but can't find any way to do that. 

    Will be happy for any advice about this issue. 


    Thank you all! 


    David

  •  7,124
    Oliver replied

    Hi,

    Add this code to the functions.php of the child theme:

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    function woo_remove_product_tabs( $tabs ) {
        unset( $tabs['description'] );         
        unset( $tabs['reviews'] );           
        unset( $tabs['additional_information'] );
        return $tabs;
    }
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • ubermenschdavid replied

    hi dear

    thank you, i will try that now :)

  •  7,124
    Oliver replied

    You're welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver