This topic has 8 replies, 4 voices, and was last updated 7 years, 6 months ago ago by Rose Tyler
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!
Hello,
Please read more in this article:
https://docs.woocommerce.com/document/editing-product-data-tabs/
Re-ordering Tabs section
Regards,
Robert Hall
Hello,
Thank you, what tab name does I have to use?
$tabs[‘???????’][‘priority’] = 10;
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.
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?
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.
Ok solved.
Hello,
You’re welcome!
Regards
The issue related to '‘Custom tab position’' has been successfully resolved, and the topic is now closed for further responses