Remove “Product Description” Heading/Title WooCommerce Single Product Page

This is how to remve the “product description” heading from your WooCommerce single product page.

No thanks to this thread, which seemed to help the poster, but nobody else. Doesn’t make sense to me.

So here’s how it’s really done.

Find description.php which is found in wp-content/plugins/woocommerce/templates/single-product/tabs/

In description.php you will delete:

<h2>< ?php echo $heading; ?></h2>

From the code:

< ?php
/**
 * Description Tab
 */
 
global $woocommerce, $post;

if ( $post->post_content ) : ?>
	<div class="panel entry-content" id="tab-description">
	
		< ?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
		
		<h2>< ?php echo $heading; ?></h2>
		
		< ?php the_content(); ?>
	
	</div>
< ?php endif; ?>

Then save, and overwrite the file on your server.

Warning! Be sure to either remember how you did this, bookmark this page, make a backup of the file, or all of the above, because as soon as you upgrade your woocommerce plugin next time an update comes out, this will be reset.

About Jeremy Blake

Jeremy is a self-proclaimed socially-awkward penguin living in Utah. He makes money online. As he sleeps.

  • Scottdaris

    Hey there. I just came across this and thought I’d share with you the upgrade-safe way to override WooCommerce templates:
    http://wcdocs.woothemes.com/codex/template-structure/

    • Cedlime

      Thanks Jeremy & Scott! This works great

      • Silvr109

        I tried these difference solutions, but they didn’t work. What finally worked for me:

        I added this code to my theme’s custom css:

        .single-product .entry-title {display: none;!important; }

    • Andy

      Here is a post on the woothemes support forum (not accessible without a membership) that adds clarification and shows that their original article was written sloppily:

      Link: http://support.woothemes.com/entries/22743808-Woocommerce-overriden-template-problem

      ” Hey,

      Welcome to the WooThemes Forums! Thanks for you question.

      You won’t use the /templates folder within your theme.

      Try this path instead:

      /whitelight-commerce/woocommerce/single-product/price.php

      Please advise if this produces the desired result. :)

      Thanks,

      Scott “

    • ElricE

      Worked a treat Scott. The often spruiked method of setting “.woocommerce_tabs h2″ to display:none completely removes the ability to use h2 sub-headings anywhere in the description tab. By making adding copy of the “description.php” into the theme’s already existing woocommerce sub-directory, providing the h2 with a specific class then setting that class only to display:none

      No description label and no more dramas using h2 subheadings throughout the rest of the tab :-)

  • Harris

    Sure thing is that you will not become a millionaire by hacking the core files of any system – listen to Scottdaris. That is the way to do it :)

    • http://eliteeternity.com/ Jeremy Blake

      I just upgraded and broke my mod. haha cheers

  • Carlos Mateo

    If you want to remove the “Product Description” in an upgrade-safe way, add this to your theme’s functions.php file:

    add_filter( ‘woocommerce_product_description_heading’, ‘remove_product_description_heading’ );
    function remove_product_description_heading() {
    return ”;
    }

    • Robert Campbell

      What about the actual Tab copy above where it read ‘Description’ by default? Is there an equivalent filter that would allow for that to be overridden?
      Thanks!

      • Sander

        Hi Robert, I managed to remove the tabs by adding this to the stylesheet of my theme:
        ul.tabs {display: none;}

        to remove price and producttitle add this to the stylesheet of your theme:
        div.summary {display: none;}
        Good luck!

        • Suicide Rescue

          Sander thanks for the advice! I tested to remove tabs
          ul.tabs {display: none;}
          and i tested to remove summary
          div.summary {display: none;} BUT I still want to show price.. what css shall i then use instead? And do u have a similar css snippet for hiding related products?
          http://suiciderescue.se/wordpress/butik/medlemskap-1/

          All the best Johan

    • http://eliteeternity.com/ Jeremy Blake

      Thanks for sharing this Carlos. I’m back here because I upgraded & lost my edits. Now to do it the real way … :)

      • http://twitter.com/lightandsounds Ryan Berry

        Maybe update the post for the googlers mate, not everyone checks comments for better solutions

    • involvo

      Hi Carlos, your method works.

      Jeremy: I tried applying your method with refreshing on 3 browsers to no avail.

      Is anyone facing a situation of a :?

      This looks to be the case on my site. Anywhere to get rid of this : semi-colon?

    • David Jacoby

      Thanks. Perfect.

    • Dan Zimmermann

      This is the only right method!
      To all wordpress beginners: Read about WordPress Hooks and Filters and don’t delete code from PlugIns or WordPress itself

  • Stuart

    HI there,

    I am wanting to change my single product title to h2 instead of h1.

    I tried making a copy of all the template files and putting this in my theme directory all under inside a “woocommerce” folder. I made change to the appropriate template file.

    This did nothing. Is there a hook that would allow me do do this?

    Why would copying the files not work?

  • repoulin

    Couldn’t we just comment it out? I just want to use SEO Yoast plugin.

  • Paul

    hello,
    i’m sorry if not in the right place, maybe there’s a way of removing Product description in Catalog view not the single product view.
    thank you very much!

  • Schibi

    thx very much, it works fine

  • http://www.ravenousravendesign.com Heather Wood

    Jeremy, You can make this simple change without having to worry about backing up. you want to use Filters and Hooks. Here is a girl who shows you how to accomplish the same thing you are and there will be no need to worry about losing your custom code when you upgrade/update.

    http://isabelcastillo.com/change-product-description-title-woocommerce

  • Nam Cam

    thank you so much,i’m very happy :D

  • sean

    thanks man..really easy

  • Jozef

    .. perfect, many thanks ..

  • Sean

    thanks for a simple perfect explanation