Home Forums WoodMart support forum Product Tab Order

Product Tab Order

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #458991

    Hi there,

    Please can you help me reorder my product tabs?

    I need the following order please:
    – Overview (I renamed the ‘description’ tab)
    – Specifications (custom tab)
    – Quality Certification (additional tab)
    – Reviews

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

    Luke Nielsen
    Keymaster

    Hello,

    The code below should help you with it, please enter it to 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["description"]["priority"] = 5; // Description first
    	$tabs["woodmart_custom_tab"]["priority"] = 10; // WooDmart Custom second
    	$tabs["woodmart_additional_tab"]["priority"] = 15; // WoodMart Additional information third
    	$tabs["reviews"]["priority"] = 20;
    	
    	return $tabs;
    }

    Kind Regards

    #459102

    Sorry it did not work?

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

    Luke Nielsen
    Keymaster

    Hello,

    In this case, is there any chance that you could give me access to the dashboard area so I will check it on your side, please?

    Kind Regards

    #459106

    No problem, I have added the access info in the private section.

    #459149

    Luke Nielsen
    Keymaster

    Hello,

    Please check how it looks now. https://prnt.sc/AiEBMfa9OEXh

    In case you need any additional help, I’d be more than happy to assist you.

    Kind Regards

    #459166

    Thank you so much! I really appreciate your help 🙂
    Looks perfect 🙂

    #459185

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome!

    Our customers are incredibly important to us here and your satisfaction remains our priority at all times.

    Wish you all the best.

    Kind Regards

Tagged: 

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

The topic ‘Product Tab Order’ is closed to new replies.