Home Forums WoodMart support forum I want to remove About Brand Tab from the Product page

I want to remove About Brand Tab from the Product page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #594582

    munazza.kanwal14
    Participant

    Hi Support Team,

    I want to remove the About Brand tab from the Product page, or I can interchange the position of About Brand tab??
    Currently I have below tabs

    1) Description
    2) Additional Information
    3) About Brand
    4) Downloadable

    interchange the position like
    1) Description
    2) Additional Information
    3) Downloadable
    4) About Brand

    please guide me on how I do this. my Site is not live currently, I have shared the Screenshot with you
    waiting for your prompt response

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #594589

    Hung Pham
    Keymaster

    Hi munazza.kanwal14,

    Thanks for reaching to us.

    1. The code below will help you to reorder the tabs. Please try to add the code below in the functions.php file in your child theme.

    /**
     * Reorder product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
    function woo_reorder_tabs( $tabs ) {
    
    	$tabs['reviews']['priority'] = 33;			// Reviews first
    	$tabs['description']['priority'] = 4;			// Description second
    	$tabs['additional_information']['priority'] = 5;	// Additional information third
    
    	
    
    	// Additional Tabs are from Theme Settings
    	 $tabs['wd_additional_tab']['priority'] = 1;
    	 $tabs['wd_additional_tab_2']['priority'] = 2;
    
    	return $tabs;
    }

    2. About Brand

    It is custom tabs and can be edited via Theme Settings > Single product > Tabs: https://prnt.sc/bDOK7HP_6t7M, and About brand itself is enabled here – https://prnt.sc/lZIjdVnv0rS- but the info comes from the description of the Brand – https://prnt.sc/mMqzE–4q2B8

    Kind Regards

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