Blog

How to remove product category names from product page on WooCommerce |Complete Guide|

woocommerce product category removal

As you all know, category names on WoCommerce are automatically displayed at the bottom of each product page, below add to cart button. This can break your product page design if your product falls under hundreds of different product categories.


We came across this issue while building an online gift basket delivery website on WordPress for one of our e-commerce clients based in Montreal QC. Luckily we found a quick way around to fix this problem and here we are going to show you that quick trick to fix this on your WooCommerce store. First you need to go to your functions.php file.

Where is functions.php located on a wordpress site ?

The functionsphp file can be found in your theme’s folder. You access that via ftp or CPANEL. If you do not know what ftp is, just simply log in to your admin panel of your hosting provider, click CPanel and proceed to file manager. Go to wp-content / yourtheme . You will find functions.php file right inside your theme folder.

Once you located your functions.php file, just paste this short code inside your functions.php file and you will be good to go! This will remove the product categories from your product page on WooCommerce

Shortcode :

remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_meta’, 40 );

Author Details


Alp Perez

Related Posts


web fonts

March 29, 2021

How To Use OTF Fonts And Any Other Font In CSS

Table of Content1 Check The Font’s License:-1.1 Upload The Chosen Font:-1.2 Add A Font-Face Section Along With CSS Code:-1.3 Apply The Font To Page Elements:- 1.4 Enter Font Variants:-1.5 Final Words:- Font designs are like secret weapons of web designers. Font shapes play a vital role in making a good impression on the visitors on web

March 25, 2021

Bootstrap Horizontal Scrolling Free Website Templates to Download – Full List

E-commerce and digital marketing businesses are skyrocketing, especially during the Covid-19 pandemic when many business owners realized the importance of online presence. The online market is very crowded. In order to stand out in the crowd and attract clients or customers, you need to have a killer-looking website where you can create a good impression on the visitors and have high conversion rates. Remember, the first impression is the last one that means you need to take excellent measures while designing the website. Your website must look unique and good-looking to stand out and attract visitors.

Call Now Button