Custom tab position - by jeremy - on WordPress WooCommerce support

This topic has 8 replies, 4 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler

  • Avatar: tlgv
    jeremy
    Participant
    September 21, 2016 at 18:18

    Hello,

    I want to move the custom tab next to the 1st tab (where I have my product description), in 2nd position. By default, the custom tab is displayed in 3rd position, after the reviews tab.

    Thank you!

    7 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 21, 2016 at 18:58

    Hello,

    Please read more in this article:
    https://docs.woocommerce.com/document/editing-product-data-tabs/
    Re-ordering Tabs section

    Regards,
    Robert Hall

    Avatar: tlgv
    jeremy
    Participant
    April 10, 2017 at 16:54

    Hello,

    Thank you, what tab name does I have to use?

    $tabs[‘???????’][‘priority’] = 10;

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 14, 2017 at 10:38

    Hello,

    Unfortunately custom tab, which is added via Theme Options > Single Product Page, can’t be re-ordered using the code from the “Re-ordering Tabs” section of this documentation https://docs.woocommerce.com/document/editing-product-data-tabs/ . You need to edit the wp-content/themes/royal/woocommerce/single-product/tabs/tabs.php file to change custom tab order. Also in other way you can delete custom tab content in Theme Options and add it manually using the code from the “Add a custom tab” of the mentioned woocommerce documentation and set tab priority there. Note it’s strongly recommended to make such customizations using child theme https://codex.wordpress.org/Child_Themes

    Regards,
    Jack Richardson.

    Avatar: tlgv
    jeremy
    Participant
    April 14, 2017 at 17:55

    Hello,

    Thank you but I need to write custom text for each product, so woocommerce “Add a custom tab” doesn’t do the job because it display a tab with same content all around the website. So your theme custom tab is ok for me, could you help me to reorder it in the php file please?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2017 at 10:04

    Hello,

    Please take our apologies for delay.
    Unfortunately such customization is out of our basic support scope, but you can order it here https://wpkraken.io/?ref=8theme

    Regards,
    Jack Richardson.

    Avatar: tlgv
    jeremy
    Participant
    May 6, 2017 at 14:35

    Ok solved.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 8, 2017 at 10:03

    Hello,

    You’re welcome!

    Regards

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

The issue related to '‘Custom tab position’' has been successfully resolved, and the topic is now closed for further responses

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