WooCommerce : Add Product Category Description to Category Page

Hi, it think some of us will need to put product category description to WooCommerce category page for SEO purpose or for better customer understanding about the product category before making any purchase.

Today, i will share with you all on how to actually put the product category description under category title.

First of all, you need to identify your theme functions.php file and open the file in your editor. Then at the last line of file, do add below code:

add_action( 'woocommerce_after_subcategory_title', 'custom_add_product_description', 12);
function custom_add_product_description ($category) {
$cat_id        =    $category->term_id;
$prod_term    =    get_term($cat_id,'product_cat');
$description=    $prod_term->description;

echo '<div>'.$description.'</div>';

Save the file and you can go to any category page on your WooCommerce store and see the result. Below is the screenshot for WooCommerce products on Product Category “WooCommerce” category page.

WooCommerce Product Category Description at Category Page

WooCommerce Product Category Description at Category Page

Now you can see product category description appeared below Category Title. Cheers!


  1. Hi Terry,

    Do you know how to add content after the products in the category?

    Any help would be appreciated.



  2. 1.how to show recent product category on home page using woocommerce?

    2.how to show short description of a category?

Leave a Comment.