Remove returns and delivery and review tab

This topic has 4 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Eva Kemp

  • Avatar: Soapmarine
    Soapmarine
    Participant
    July 14, 2015 at 22:31

    Dear team,

    how can I remove returns and delivery and review tab? thank you!

    I tried to add some code in custom.css file, no success.
    thank you in advance!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 15, 2015 at 08:33

    Hello,

    You can remove “Returns and Delivery” tab in Theme Options > Single Product Page > Custom Tab title and clear the content.
    To remove “Review” tab you can follow this instruction:
    http://docs.woothemes.com/document/editing-product-data-tabs/

    Regards,
    Eva Kemp.

    Avatar: Soapmarine
    Soapmarine
    Participant
    July 15, 2015 at 21:01

    Thank you, Eva.
    I added the custom.css file with these lines:

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['reviews'] ); 			// Remove the reviews tab
        
        return $tabs;
    
    }
    

    but nothing happend. What I do wrong?
    Thank you!

    Avatar: Eva
    Eva Kemp
    Support staff
    July 16, 2015 at 08:38

    Hello,

    That code must be added into functions.php file in wp-content/themes/woopress directory.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.