This topic has 2 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Rose Tyler
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
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
You must be logged in to reply to this topic.Log in/Sign up