Website Building » WooCommerce » How Do I Remove Categories From WooCommerce Product Page?

How Do I Remove Categories From WooCommerce Product Page?

Last updated on October 1, 2022 @ 4:05 pm

Assuming you are using the default WooCommerce theme, the following instructions will help you remove the categories from WooCommerce product pages.

First, you need to edit the product page template file. You can find this file by going to your WordPress dashboard -> Appearance -> Editor.

On the right hand side, you will see a list of template files. Find the one called “single-product.php” and click on it to edit.

PRO TIP: If you are considering removing categories from your WooCommerce product page, it is important to note that this may have negative consequences for your store. Removing categories can make it more difficult for customers to find the products they are looking for, and may also result in decreased traffic and sales.

Once you have opened up the template file, look for the line that says:

This is the line that displays the product categories on the page. Delete this line or comment it out by adding after it, like this:

Save your changes and refresh your product page to see that the categories have been removed.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.