How to Find a WooCommerce Product Category Page Template

If you decide to edit WooCommerce product category or product tag pages, the first question that may come to your mind is about the template used for these pages in WooCommerce.

However, everything is not so straightforward here. In this tutorial, I will uncover everything for you step by step – for both classic and block themes.

Product Category Page Template in Block Themes

If you’re using a WordPress block theme for your WooCommerce store, everything should be pretty clear for you. However, I think it would be great to mention it in this tutorial as well.

So, for block themes you just need to go to Appearance > Editor, then to Templates, and find a template named Products by Category. That’s pretty much it.

WooCommerce category page template
Example of a WooComerce category page template in Twenty Twenty-Five block theme.

Product Category Page Template File (PHP) in Classic Themes

As you know, WooCommerce product categories are just a product_cat taxonomy, right? So, according to that and to the WordPress template hierarchy, the taxonomy-product_cat.php file should be in use? Or at least archive.php.

No!

First of all, let me explain why. WooCommerce is intended to work on any WordPress theme, so, when you install and activate it, the plugin can not just go ahead and create one more file – taxonomy-product_cat.php in your theme directory, that would be weird, right?

So, most of the WooCommerce system pages operate from the standard WordPress pages.

In the latest version of WooCommerce, there are no template files in your theme that are connected in some way to WooCommerce product category pages, which means that it is time for us to look into the woocommerce/templates folder.

A template hierarchy diagram for WooCommerce product category page template files:

WooCommerce product category page template file diagram
Just a reminder – in order to make changes in these template files, you need to copy them from the WooCommerce templates folder to your theme woocommerce folder.

This is how it works:

If you have any questions, please let me know in the comments below.

Misha Rudrastyh

Misha Rudrastyh

Hey guys and welcome to my website. For more than 15 years I've been doing my best to share with you some superb WordPress guides and tips for free.

Need some developer help? Contact me

Follow me on X