Woocommerce hide product description on load

I need to hide the product description in the product page. But when the user clicks on the description tab I need to show the content. When the user clicks again, I need to hide the description. It needs to work like toogle.

Do you know how to do this on the woocommerce for each product?


  1. Open WordPress admin panel, go to Appearance > Editor
  2. Open function.php theme file
  3. Add the following code at the bottom of function.php file
  4. Save the changes
  5. Refresh the product page, now the description heading is gone.

There’s no code here and even then:

a) this won’t achieve what is being asked for, and
b) @ecstaticstore do not edit the functions file unless you are 100% sure of what you are doing

FYI what you want to do will require more customization. I doubt the author would do that for free but you can find a freelancer at www.studio.envato.com