Okay
  Public Ticket #2868656
Removing the vendor info tab in the products page
Closed

Comments

  • Dimitris73 started the conversation

    Hello. How do I remove the "vendor info" tab in the products page? Please check the attached image to see what I mean.

  •  2,218
    WebWizards replied

    Hi Dimitris,

    Thank you for purchasing our plugin,


    This tab is not added by our plugin, I think it's added by Dokan. I searched and I found a useful snippet. I think you can remove it by adding this PHP code snippet to your site:

    add_filter( 'woocommerce_product_tabs', 'dokan_remove_seller_info_tab' , 50 );
    function dokan_remove_seller_info_tab ( $array )  {
     unset ($array['seller'] );
     return $array;
    }
    

    To add a PHP snippet:

    https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    Let me know if that works,

    Kind regards,

    Stefan