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
This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again: WooCommerce troubleshooting 101
Related content
WooCommerce Visual Hook Guide: Single Product Page Here’s a visual hook guide for the WooCommerce Single Product Page. This is part of my “Visual Hook Guide Series“, through which you can find WooCommerce hooks quickly and easily by seeing their actual locations (and you can copy/paste). If you like this guide and it’s helpful to you, let me know in the comments! […]
WooCommerce: Disable Variable Product Price Range $$$-$$$ You may want to disable the WooCommerce variable product price range which usually looks like $100-$999 when variations have different prices (min $100 and max $999 in this case). With this snippet you will be able to hide the highest price, and add a “From: ” prefix in front of the minimum price. At the […]
WooCommerce: Hide Price & Add to Cart for Logged Out Users You may want to force users to login in order to see prices and add products to cart. That means you must hide add to cart buttons and prices on the Shop and Single Product pages when a user is logged out. All you need is pasting the following code in your functions.php (please note: […]
WooCommerce: Add Custom Field to Product Variations Adding and displaying custom fields on WooCommerce products is quite simple. For example, you can add a “RRP/MSRP” field to a product, or maybe use ACF and display its value on the single product page. Easy, yes. Unfortunately, the above only applies to “simple” products without variations (or the parent product if it’s a variable […]
WooCommerce: Show Number Of Products Sold @ Product Page WooCommerce database already stores the number of products sold for you. Therefore, you may want to show such number on the product page, close to the Add To Cart button. As we’ve seen in my book Ecommerce and Beyond, showing the number of sales for each product can increase your sales conversion rate. All you […]
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. Follow @rmelogli
24 thoughts on “WooCommerce: Rename Product Description Tab Label @ Single Product Page”
steve
Hi how can I make this change for just one particular product? In both the tab and heading? Many thanks man!
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? Customization? Leave your comment now! _____
If you are writing code, please wrap it like so: [php]code_here[/php]. Failure to complying with this, as well as going off topic or not using the English language will result in comment disapproval. 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!
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”