New Landing How can we help? Themeforest Theme Support Dante How to remove the review tab on products page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #78955
    abo
    Member
    Post count: 41

    Hello,

    How can we remove the reviews tab on the product page?
    We tried this without success:

    
    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;
    }
    

    Thanks
    Aldo

    #78991
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    #product-accordion .panel:last-child {
      display: none;
    }

    – Kyle

    #79438
    abo
    Member
    Post count: 41

    Thanks,
    I solved it differently.
    Aldo

    #79443
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    You most welcome. I’m glad that issue resolved. Thanks kyle :-).
    With Best Regards
    Swift Ideas

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register