Web & Software Developer

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' );
    
    }
    

By

We've 20 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!

    avatar
    • 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.

      avatar
      • 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;
        }
        
        avatar
        • 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!

          avatar
          • 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.

            avatar
          • 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.

            avatar
  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.

    avatar
    • 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’ );
      }

      avatar
  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?

    avatar
  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

    avatar
  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

    avatar
  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');
    }
    
    avatar
  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.

    avatar
  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!!!

    avatar

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]