Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1409322
    Itwebdevelopment
    Participant

    My product specs and product information tabs are in the wrong order.

    But only on one of my product pages.

    https://gyazo.com/7c77beb3c925c82a03aed55a60ed7e0c

    I want it to be the other way around but I don’t want to mess up my other pages that are correct.

    Here’s the link:

    https://www.dzdrones.com/product/state-of-the-art-parts-subscription-service/

    Please help.

    Thanks!

    #1409366
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! To resolve this issue, please have the code in your child theme’s functions.php file updated and make use of this code instead:

    add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
    function woo_rename_tabs( $tabs ) {
    
    	
    	$tabs['description']['title'] = __( 'Info' );		   // Rename the description tab
            $tabs['additional_information']['title'] = __( 'Specs' );  // Rename the additional information tab
    
            $tabs['description']['priority'] = 5;			// Description first
    	$tabs['additional_information']['priority'] = 10;	// Additional second
    
    	return $tabs;
    
    }

    We would loved to know if this has work for you. Thank you.

  • <script> jQuery(function($){ $("#no-reply-1409322 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>