Change Product Description, Additional Information, and Reviews Tab Text in WooCommerce

By default, WooCommerce products have three tabs labeled, Description, Additional Information, and Reviews. Some themes show these as links rather than tabs.

When you click on these tab links, they show a title for that section. So, the “Description” tab section will show a title of “Product Description.” The “Additional Information” tab section will show the title of “Additional Information” and the Reviews tab section will a title of “Reviews.”

Here is how you can change the tab link text for all 3 tabs on your WooCommerce products. This also shows you how to change or remove the heading titles for the “Product Description” and “Additional Information” tab sections.

(See how to add these code snippets.)

Here are 7 different examples for customizing and/or removing the text on the WooCommerce product tabs:

  1. Change “Product Description” Heading Text

    This code will change the “Product Description” heading title text to your own custom text.

    Change line 7 where it says, YOUR PRODUCT DESCRIPTION TITLE, to your own title.

    /** 
     * Change the heading title on the "Product Description" tab section for single products.
     */
    add_filter( 'woocommerce_product_description_heading', 'isa_product_description_heading' );
    
    function isa_product_description_heading() {
    	return 'YOUR PRODUCT DESCRIPTION TITLE';
    }
    
  2. Remove “Product Description” Heading Text

    This will remove the “Product Description” heading title. You may want to remove the “Product Description” heading title altogether since it’s sort of redundant, since there is already a tab/link above it. So, to remove the “Product Description” heading title, use this code:

    Note that this will not remove the tab/link; it only removes the heading title from within the section.

    /** 
     * Remove the "Product Description" heading from the single product Description tab section
     */
    add_filter( 'woocommerce_product_description_heading', '__return_false' );
    
  3. Change “Description” Tab Link Text

    This will replace the tab link text for the “Description” tab link. It will change “Description” to your desired text. You must change YOUR CUSTOM TEXT on line 8 to your desired text.

    /** 
     * Change the Description tab link text for single products
     */
    add_filter( 'woocommerce_product_description_tab_title', 'isa_wc_description_tab_link_text', 999, 2 );
    
    function isa_wc_description_tab_link_text( $text, $tab_key ) {
    
    	return esc_html( 'YOUR CUSTOM TEXT' );
    
    }
    
  4. Change “Additional Information” Heading Text

    This will change the “Additional Information” heading title text to your own custom text.

    Change line 7 where it says, YOUR ADDITIONAL INFO TITLE, to your own title.

    /** 
     * Change the heading on the Additional Information tab section title for single products.
     */
    add_filter( 'woocommerce_product_additional_information_heading', 'isa_additional_info_heading' );
    
    function isa_additional_info_heading() {
    	return 'YOUR ADDITIONAL INFO TITLE';
    }
    
  5. Remove “Additional Information” Heading Text

    This will remove the “Additional Information” heading title. You may want to remove the “Additional Information” heading title altogether since it’s sort of redundant, since there is already a tab/link above it with the same text. So, to remove the “Additional Information” heading title, use this code:

    Note that this will not remove the tab/link; it only removes the heading title from within the section.

    /** 
     * Remove the "Additional Information" heading from the single product Additional Information tab section
     */
    add_filter( 'woocommerce_product_additional_information_heading', '__return_false' );
    
  6. Change “Additional Information” Tab Link Text

    This will replace the tab link text for the “Additional Information” tab link. It will change “Additional Information” to your desired text. You must change IMPORTANT DETAILS on line 8 to your desired text.

    /** 
     * Change the "Additional Information" tab link text for single products
     */
    add_filter( 'woocommerce_product_additional_information_tab_title', 'isa_wc_additional_info_tab_link_text', 999, 2 );
    
    function isa_wc_additional_info_tab_link_text( $text, $tab_key ) {
    
    	return esc_html( 'IMPORTANT DETAILS' );
    
    }
    
  7. Change “Reviews” Tab Link Text

    This will replace the tab link text for the “Reviews” tab link. It will change “Reviews” to your desired text. You must change WHAT PEOPLE ARE SAYING on line 8 to your desired text.

    /** 
     * Change the "Reviews" tab link text for single products
     */
    add_filter( 'woocommerce_product_reviews_tab_title', 'isa_wc_reviews_tab_link_text', 999, 2 );
    
    function isa_wc_reviews_tab_link_text( $text, $tab_key ) {
    
    	return esc_html( 'WHAT PEOPLE ARE SAYING' );
    
    }
    

See more:

We've 32 Responses

  1. May 21st, 2013 at 5:55 pm

    Hello Isabel. Thanks very much for posting this. Really big help! If it’s not too much though, may I ask how can I change the title of the tab? Ex: from ‘DESCRIPTION’ to “FEATURES & BENEFITS’. Thanks in advance!

    Myles
    • May 22nd, 2013 at 12:20 am

      Thanks. I have not used WooCommerce since last year, and I know they updated the entire plugin, but try:

      /**
       * Change "Product Description Tab Title" on single product panel 
       */
      
      function isa_product_description_tab_title() {
          echo 'FEATURES & BENEFITS';
      }
      add_filter('woocommerce_product_description_tab_title',
      'isa_product_description_tab_title');
      

      If the & causes problems, spell out ‘and’, instead. Hope this helps.

      Isabel
      • September 18th, 2013 at 8:42 pm

        Similarly, for removing tabs, use this:

        
        /*	REMOVE REVIEWS TAB ON SINGLE PRODUCT PAGE
        **********************************************************/
        
        add_filter( 'woocommerce_product_tabs', 'os_woo_remove_description_tab', 98);
        function os_woo_remove_description_tab($tabs) {
        
         unset($tabs['description']);
        
         return $tabs;
        }
        
        Craig Grella
        • January 15th, 2015 at 7:29 pm

          Excellent description and guide on how to remove the heading, Isabel. Thanks for the help!

          Craig, I tried your code to remove the tab for Additional Information using the following code:

          
          add_filter( ‘woocommerce_product_tabs’, ‘os_woo_remove_additional_information_tab’, 98);
          function os_woo_remove_additional_information_tab($tabs) {
          
          unset($tabs[‘additional_information’]);
          
          return $tabs;
          }
          
          

          but have recevied

          syntax error, unexpected ‘information’’ (T_STRING), expecting ‘]’

          in regards to the last line

          unset($tabs[‘additional_information’]);

          Any suggestions? I don’t really understand what is happening and am not savvy at coding.

          Thanks!

          Michael Blaskowsky
          • January 17th, 2015 at 1:39 pm

            Thank you. It appears that the only problem is that the code has “pretty formatted” single quotes. If you just replace the single quotes by typing in your own, the function should work. I edited Craig’s code above and wrapped it in a code format block, so now you should be able to copy and paste it without a problem.

            Isabel
          • January 18th, 2015 at 4:00 pm

            Thanks, Isabel. I tried the code, but it removed the entire Additional Information section instead of just the tab at the top. I was hoping to remove the tab but keep the info displayed.

            Michael Blaskowsky
  2. November 13th, 2013 at 11:43 am

    Hi Isabel,

    Would you happen to know how to put a heading H1 tag on the category description on archive-product.php (woocommerce_archive_description)? I tried just placing around the php code but the woocommerce_archive_description seems to still output . Is there a hook/filter I can add to make it output as an ? Any help is appreciated.

    Marcus
    • November 13th, 2013 at 12:21 pm

      Nevermind, just found this code. Add it to the function.php file and it allows you to enter HTML in the category description from wordpress admin section.

      foreach ( array( ‘pre_term_description’ ) as $filter ) {
      remove_filter( $filter, ‘wp_filter_kses’ );
      }

      foreach ( array( ‘term_description’ ) as $filter ) {
      remove_filter( $filter, ‘wp_kses_data’ );
      }

      Marcus
  3. January 5th, 2014 at 4:35 pm

    Hi Isabel! I’m bulding a WooCommerce site and I need the long description section for tables and bullets. I noticed that the homepage pulls from this field (which makes it look bad) and not the short description field which to me would make a lot more sense given the character limit. Can you please advise how I have the HP pull from the Short Description universally?

    Roger
  4. November 20th, 2014 at 6:21 am

    Hi
    This is exactly what I’m looking for.
    How do I do this so updating Woocommerce won’t overwrite it all the time?
    And where exactly is functions.php? Is that the file that lives inside a child theme? Sorry I’m a bit of a noob at the code level.
    Geoff

    Geoff
  5. June 26th, 2015 at 10:18 am

    Thank you Isabel.

    I also wanted to remove “Reviews.” I got confused extending template, so I used CSS:

    .woocommerce #reviews #comments h2 { display: none; }
    

    Best wishes,
    Mitchell

    Mitchell
  6. October 7th, 2016 at 4:51 am

    You snippet save my life! I was searching for it for a few hours without php knowledge. Now I adapt it to use with Additional Information tab heading too.

    If someone looking for it.

    /** 
     * Change on single product panel "Additional information tab heading"
     * since it already says "features" on tab.
     */
    add_filter('woocommerce_product_additional_information_heading',
    'isa_product_additional_information_heading');
     
    function isa_product_additional_information_heading() {
        return __('YOUR CUSTOM TITLE', 'woocommerce');
    }
    
    Emily
  7. January 4th, 2017 at 11:46 pm

    Hi,
    Your posts have been incredibly helpful. I’ve a quick question for you. Aside from removing the description and additional information tabs, do you know of a way to change the page name for a product? Currently I have a product called Gift Certificates. When the page is opened, it reveals two headers. One in the left hand side of the page and the other just above the Gift Certificate form field. On the Shop page, I was able to change one of the two headers so they are now unique, but I’ve been unable to change the Product page. Please see http://soul2soulhealer.wsbydesign.com/shop which will take you to the product page. I look forward to hearing from you.

    Kimberly
  8. March 13th, 2017 at 4:17 pm

    This is good information. I’m curious though if you know how to make the additional information tab open by default when landing on the page. I’m not sure if this is theme specific or woocommerce specific. Any ideas would be helpful.

    Thanks!!!

    mrgamehendge
  9. May 17th, 2017 at 4:09 pm

    Thank you so much for the helpful Post. My theme author gave me several codes on how to remove the DESCRIPTION text and didn’t work. Luckily I found this Post, and it works for me.

    My theme author couldn’t give me code to change the fonts of texts in the Product Description section. The default font of the texts/words in the Product Description section in my theme is very small, and it is hard to read. I want to change it a little bit bigger. Do you have any idea on how to change the font of texts in the Product Description section?

    Thank you again for the helpful Post.

    Mit
  10. June 2nd, 2017 at 5:24 pm

    Hi Isabel,

    I’ve tried to adapt your code to change the title of related product but it doesn’t work. Thanks for your help, if you have the time. 😉

    add_filter( 'woocommerce_related_products_heading', 'isa_related_product_heading' );
     
    function isa_related_product_heading() {
        return 'Ouvrages apparentés';
    }
    
    Christophe
    • June 5th, 2017 at 7:15 pm

      Hi. This should work to change the WooCommerce “Related products’ title (change “Ouvrages apparentés” on line 8 as desired):

      /**
       * Change WooCommerce's 'Related Products' to custom text
       */
      function my_wc_related_products_text( $translated_text, $text, $domain ) {
      	if ( 'woocommerce' == $domain ) {
      		if ( 'Related products' == $translated_text ) {
      
      			$translated_text = __( 'Ouvrages apparentés', 'woocommerce' );
      
      		}
      	}
      	return $translated_text;
      }
      add_filter( 'gettext', 'my_wc_related_products_text', 20, 3 );
      
      Isabel
  11. August 2nd, 2017 at 2:55 pm

    I tried your code but it is not working to get rid of the tabs. I tried Mitchell’s code and was able to remove the header duplication – that will work for me. Thanks!

    jan
  12. September 26th, 2017 at 7:17 am

    I added your function (woocommerce) and it changes the product descriptions tab titles from the default…. and I alsoo added a small bit…

        add_filter( 'woocommerce_product_tabs', 'wc_change_product_description_tab_title', 10, 1 );
        function wc_change_product_description_tab_title( $tabs ) {
          global $post;
            if ( isset( $tabs['description']['title'] ) )
            $tabs['description']['title'] = '★ Product Information'."\n".' ★ Ingredients'."\n".' ★ Sizes';
            return $tabs;
        }
    

    The problem is, that it does not separate new title text like this:

    ★ Product Information
    ★ Ingredients
    ★ Sizes

    I’ve tried \n and \r and and char(13) to get them to stack……
    But Im running into a dead-end. Is there a way to do this other than ( .”\n”. ) ? and even that does not work 🙁

    Daryl Isaacs
    • October 3rd, 2017 at 11:59 am

      Example #3 will work. You have to use the woocommerce_product_description_tab_title filter, as in #3 above, if you want to override the HTML escaping done by WooCommerce. The filter in #3 allows you to insert HTML. You can get your desired title by changing line 8 in example 3 to this:

      return '★ Product Information<br /> ★ Ingredients<br /> ★ Sizes';
      Isabel
  13. October 8th, 2017 at 3:36 pm

    Yes…
    yours is similar to the results I came up with:

    add_filter( 'woocommerce_product_tabs', 'wc_change_product_description_tab_title', 10, 1 );
    function wc_change_product_description_tab_title( $tabs ) {
      global $post;
        if ( isset( $tabs['description']['title'] ) )
        $tabs['description']['title'] = '★ Ingredients'."\r".'★ Available Sizes'."\r".'★ Instructions';
        return $tabs;
    
    }
    

    I figured out how to use the “return” instead….

    Tried yours and I got the same result, thank you for the reply.
    Ps I found the css wrapeer and edited it to reflect the site fonts and sizing, color.

    Daryl Isaacs

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]