• Resolved K.H.R

    (@khrifat)


    Hello,

    I don’t want to show “Vendor Info” tab in the Products: Image here: https://i.imgur.com/kZFd6eu.jpg

    How can I remove this?

    I am using the following code to remove this tab, still this is showing, help me to remove that from product page.

    <?php
    
    /**
     * Remove product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['vendor_info'] );  	// Remove the vendor information tab
    
        return $tabs;
    }

    Please help me to remove this Tab.

Viewing 1 replies (of 1 total)
  • Hello @khrifat,

    Your code was not correct. You have to unset the key seller rather than vendor_info. Please use the below code –

    /**
     * Remove product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['seller'] );      // Remove the vendor information tab
    
        return $tabs;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Dokan Vendor Tab Issue in Product Description’ is closed to new replies.