WooCommerce: Rename Product Description Tab Label @ Single Product Page
Product tabs show on the single product page, right below the image gallery. Tab labels are “Description”, “Additional Information”, “Reviews” by default – but what if you wish to rename them into something more relevant to your users?
Here’s a simple PHP snippet you can copy/paste into your child theme’s functions.php file to immediately change the “Description” tab name – enjoy ๐
Editing Product Tab Names @ WooCommerce Single Product Page
Snippet (PHP): Rename Description Product Tab Name @ WooCommerce Single Product Page
You can place PHP snippets at the bottom of your child theme functions.php file (delete "?>" if you have it there). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files - if you need more guidance, please take a look at my free video tutorial "Where to Place WooCommerce Customization?"
Does this snippet (still) work?
Please let me know in the comments if everything worked as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting on PHP 7.3.
If you think this code saved you time & money, feel free to join 14,000+ WooCommerce Weekly subscribers for blog post updates or 250+ Business Bloomer supporters for 365 days of WooCommerce benefits. Thank you in advance :)
Need Help with WooCommerce?
Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!
Rodolfo Melogli
Business Bloomer Founder
Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.
Just wanted to say, I’m on v4.0.1 of WooCommerce and the original code posted at the top of the page seems to be working fine for me. The mod I created for the Additional Info tab below seems ok too…?
Hey, thanks for this. Just wanted to say that the code for renaming tabs on the WooCommerce website (https://docs.woocommerce.com/document/editing-product-data-tabs/) had a bug. It would force the Additional Information tab to appear on every page even when a product had no additional information. So I added your code to my functions file, but then I also copied it and modified it slightly to make it rename the Additional Information tab as well. I put that code right under your code. Here’s what it is:
Hey Carole, thanks for your comment! Instead of “woocommerce_product_description_tab_title” try using “woocommerce_product_additional_information_tab_title”
Questions? Feedback? Support? Leave your Comment Now! _____
If you are writing code, please wrap it between shortcodes: [php]code_here[/php]. Failure to complying with this (as well as going off topic, not writing in English, etc.) will result in comment deletion. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining BloomerArmada to get blog comment reply priority, ask me 1-to-1 WooCommerce questions and enjoy many more perks. Thank you :)
With 100,000 (and growing) monthly organic sessions, Business Bloomer is the most consistent, most active and most complete WooCommerce development/customization blog.
Of course this website itself uses the WooCommerce plugin, the Storefront theme and runs on a WooCommerce-friendly hosting.
Hi how can I make this change for just one particular product? In both the tab and heading? Many thanks man!
Hi Steve, I suggest you take a look at “conditional logic”: https://businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/. Enjoy ๐
2022, and still works on 6.1.0 ! Thks a lot
Cool!
I tried 2 other solutions provided by wordpress and neither worked. Your snipped is perfect! Thank you.
Awesome
Thank you very much!! The code is still working perfectly!!!
Yay!
Thank you, Rodolfo, It’s easy to implement and working like a charm.
Nice!
This code does not work on woocommerce 3.8.1 anymore.. I searched online and found that the following works for my site:
Hope this helps someone out there using the latest woocommerce 3.8
Thank you!
Just wanted to say, I’m on v4.0.1 of WooCommerce and the original code posted at the top of the page seems to be working fine for me. The mod I created for the Additional Info tab below seems ok too…?
Great!
Code is above works with 4.+ version.
Cool
Hey, thanks for this. Just wanted to say that the code for renaming tabs on the WooCommerce website (https://docs.woocommerce.com/document/editing-product-data-tabs/) had a bug. It would force the Additional Information tab to appear on every page even when a product had no additional information. So I added your code to my functions file, but then I also copied it and modified it slightly to make it rename the Additional Information tab as well. I put that code right under your code. Here’s what it is:
I’m guessing it will also work for the Reviews tab.
Nice!
Just what I needed! Grazie Rodolfo!
Prego ๐
How can i change the label which is under the tab like “Description” ?
The above snippet is only change the tab title not content title.
๐ https://businessbloomer.com/woocommerce-remove-description-heading-tabs/
How should the code look if I want to change the Additional information tab to Size Options?
Hey Carole, thanks for your comment! Instead of “woocommerce_product_description_tab_title” try using “woocommerce_product_additional_information_tab_title”