Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Remove ‘Description’ heading under single product tab

On the single product page there are tabs for extra information. The heading under the “Description” tab is “Description” which is an unnecessary duplication. The code snippet below removes the second occurrence.

If you only have the one tab (ie the others tabs has been removed or are not being used), then another option is to leave the description heading but remove the tabs completely by putting these few lines into the css file.

.woocommerce-tabs ul.tabs {
  display: none;

 * Remove 'description' under single product tab

add_filter( 'woocommerce_product_description_heading', '__return_null' );
   View Raw Code ID: 91058