Home Forums WoodMart support forum How to change Tabs order?

How to change Tabs order?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #618725

    hello.hellobloom
    Participant

    Hi,

    I would like to change the order of the tabs on the product page of my website. The current order is Reviews, Description, Specifications. I want to move the Reviews tab to the last position.
    I tried changing the order using this method: https://rudrastyh.com/woocommerce/change-product-tabs-order.html, but it didn’t work.

    Where can I adjust this at the theme level?
    Thank you,
    Kinga

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

    Hung Pham
    Keymaster

    Hi hello.hellobloom ,

    Thanks for reaching to us.

    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;
    }

    Please follow this guide:
    https://woocommerce.com/document/editing-product-data-tabs/

    Best Regards

    #619077

    hello.hellobloom
    Participant

    Thank you. 🙂

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

    Hung Pham
    Keymaster

    Hi hello.hellobloom,

    You can adjust the order of the attributes via Products > Attributes > drag each attribute in the appropriate order (more detail in the below video).
    https://monosnap.com/file/H9O9u7fyWBUApExfNk1Ma9t0xRczpq

    Best Regards

    #619499

    hello.hellobloom
    Participant

    Hey,
    Thank you for your feedback; it allows me to edit the attributes effectively.
    Is it possible to arrange the order of these attributes on the product page as I see fit?
    Since I’m assigning colors to plants, I want first to place the most characteristic color. Therefore, the order would be different for each product.

    Thank youu,
    K

    #619550

    Hung Pham
    Keymaster

    Hi hello.hellobloom,

    WoodMart does not have such options.

    For specialized assistance and potential solutions, I kindly suggest that you reach out directly to the WooCommerce plugin’s support team https://wordpress.org/support/plugin/woocommerce/, who are better equipped to provide you with the guidance you requires or You need to find a third party plugin to achieve more functionality that best suits you.

    Regarding filters, To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.

    If you have any questions please feel free to contact us.

    Regards,

    #629058

    hello.hellobloom
    Participant

    Hello,
    I have Wishlist problems too. It doesn’t work properly when I add or remove a product; the wishlist behaves erratically. I’ve read on another topic that in such cases, you should deactivate all third-party plugins and check which one is causing the issue. I did that, and the result is that Elementor and WP Fastest Cache are the ones causing the problem. I turned everything else back on, and it’s working fine, but I can’t do without Elementor. What do you think I should do? Please check the video. Thank you, Kinga

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