Shopping Cart
Remove Product Meta ‘Categories’ in a Product Page – WooCommerce

Remove Product Meta ‘Categories’ in a Product Page – WooCommerce

By default, WooCommerce product categories are displayed at the bottom of a product page just under the add to cart button.

You can remove these from the layout by removing the woocommerce_template_single_meta action from the product summary, in your themes functions.php

STEPS TO REMOVE PRODUCT META CATEGORIES

  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.

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );

Older Post


RELATED ARTICLES

How to change proceed to checkout text In wooCommerce?

How to change proceed to checkout text In wooCommerce?

WooCommerce is an open-source eCommerce plugin built for WordPress. It allows you to leverage the most powerful content management system (CMS) and use it to run an online store. Because of the open-source nature, you can customize every aspect of your store.     With WooCommerce, you can override any template file by adding your own modified version of that file to your WordPress theme directory. Just create the same folder structure you find in the WooCommerce plugin and add your new template file there, and it overrides the plugin file. CHANGE PROCEED TO CHECKOUT TEXT Open function.php theme file using FPT...

Read more →

WooCommerce How to remove "description" text in product description?

WooCommerce How to remove "description" text in product description?

WooCommerce product description has "Description" text by default as a heading in the product description. 

Read more →

How To Change Sale Badge Text In WooCommerce?

How To Change Sale Badge Text In WooCommerce?

WooCommerce adds sale badge to the items that are on sale, means product sale price is lower than the actual price. By default WooCommerce, Sale badge text is "Sale!"

Read more →