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

Related Posts


November 18, 2017

Why it is so Important to Include Pictures on your Website

Over 60% of people admit to being visual learners, drawing connections between information and images. With the majority of people engaging with information visually, the proper use of images is crucial to retaining an audience on your website. A key factor of your website design should be where and when to use images. Pictures communicate

December 9, 2016

10 Best WordPress Plugins to Boost your Content Marketing Efforts

Content is actually a useful resource of information about anything. This terminology has obtained a considerable importance in the digital word. Without contents, online marketing has no existence at all. In order to gain success in digital marketing, SEO professional and webmasters need to have an appropriate content marketing strategy to create and distribute valuable,

November 11, 2016

Best Practices to Prevent Shopping Cart Abandonment this Holiday Sales Season

 The eCommerce industry is growing rapidly because it is working on one agenda i.e. convenience. The customers prefer online stores rather than physical stores because they don’t want to experience the hassle of standing in a long queue and fighting with the public to pick up the desired products and then again waiting at the

Call Now Button