Tabs Order - by seanseansean - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago ago by Rose Tyler

  • Avatar: seanseansean
    seanseansean
    Participant
    August 15, 2019 at 19:10

    Hello, is there any possibility of changing the order in which the tabs load on single product pages, I would like for it to be Reviews, Description, Lab Results

    thank you

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2019 at 07:51

    Hello,

    This code can be added in functions.php of the child theme:

    add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
    function woo_reorder_tabs( $tabs ) {
    
    	$tabs['reviews']['priority'] = 5;			// Reviews first
    	$tabs['description']['priority'] = 10;			// Description second
    
    	return $tabs;
    }

    Regards

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

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

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