How to remove product category names from product page on WooCommerce |Complete Guide| – A Plus Digital

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


aplusdmg

Related Posts


July 24, 2021

BOOTSTRAP PARALLAX SCROLLING FREE TEMPLATES TO DOWNLOAD – LIST

Bootstrap is very popular among web designers. It helps designers construct a unique website with the many features Bootstrap has to offer. Parallax scrolling is a web design technique that creates a more immersive experience for viewers by making the foreground move at a faster pace than the background; this creates a 3-D image as website viewers scroll

web fonts

March 29, 2021

How To Use OTF Fonts And Any Other Font In CSS

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 pages. It directly impacts the visitor’s psychology and memory system.  By using the rule of font face, it is possible to render any font that is available online to your