WooCommerce: Remove “Description” Heading @ Single Product Tabs

When you are on the single product page, and you have a non-empty product long description, a “Description” tab appears below the product images. Unfortunately, not only the tab label is “Description”, but also the tab H2 heading. This sounds and looks horrible, so here’s a way to completely remove it.

Alternatively, you can use this other snippet in order to rename it: https://businessbloomer.com/woocommerce-rename-product-description-single-product-page/

How to Remove the “Description” Title @ WooCommerce Single Product Tabs

Snippet (PHP): Remove “Description” Heading @ WooCommerce Single Product Tabs

/**
 * @snippet       Remove "Description" Title @ WooCommerce Single Product Tabs
 * @how-to        Get CustomizeWoo.com FREE
 * @sourcecode    https://businessbloomer.com/?p=97716
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.5.3
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */ 

add_filter( 'woocommerce_product_description_heading', '__return_null' );

Where to add this snippet?

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.

28 thoughts on “WooCommerce: Remove “Description” Heading @ Single Product Tabs

  1. in addition to this and for SEO purposes .. should the tab list had an h2 inside each tab title? Inside the li or a tags…

    1. Okey short answer is: no, is better to not remove this h2 title unless you a re giving another title in the tab description?

      1. I wouldn’t worry too much about search engines. Do whatever is better for users

        1. Thank you! Good advice.

  2. This worked! Thank you!!

  3. Thanks Man !!

    1. You’re welcome Man!

  4. Hey there,

    How can i remove the heading of the size chart tab in the woocommerce single product page?
    The title would be: WooCommerce: Remove “Size Chart” Heading @ Single Product Tabs

    Hope you can help us out,
    Kind regards,
    Larry

    1. Hi Larry, thanks so much for your comment! Yes, this is definitely possible, but I’m afraid it’s custom work. If you’d like to get a quote, feel free to contact me here. Thanks a lot for your understanding!

  5. Can you share the code which works for variable products too?

    1. Why, it doesn’t work?

  6. Hey THAAAAANK-YOU that’s a cracking 30-second solution. Working perfectly on latest Woocommerce and WordPress as of 13.08.2020.

    First-class solution!

    1. Nice!

  7. It works! Thanks for your sharing. 2020.02

    1. Cheers

  8. hiya i think how others are doing it is instead of __return_null they’re writing __return_empty_string – im not sure if this is a better way of doing it or not

    1. It’s the same, maybe “__return_empty_string” is more “correct”. But should work either way

  9. This is the second time today that you’ve had the answer to my question… Thank you, Rodolfo!!! 🙂

    1. Ahah, thank you!

  10. Worked! THANKS !

    1. Cool!

  11. Grazie Rodolfo, ma questo script non mi funziona. L’altro che hai pubblicato oggi sì.
    Il tema è Enfold
    Ciao
    Mauro

    1. Hey Mauro, thanks for your comment! It could be Enfold uses custom functions, so you’ll need to edit the snippet in this case. Hope this helps

  12. Great! It works fantastic… Now I won’t need to override any file every time I update Woocommerce.

    Thanks!!

    1. Awesome 🙂

  13. I have to say, I never understood why there was a short description and a long description. Then with tabs there are attributes, reviews… Makes it all so complicated, especially for small and new sites. Thanks for sharing your tips!

    1. Great 🙂

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 :)

Your email address will not be published.