Hey @connor234,
You could override the default woocommerce_template_loop_category_title
function from within your theme like this by adding it to the functions.php file.
function woocommerce_template_loop_category_title( $category ) {
?>
<h2 class="woocommerce-loop-category__title">
<?php
echo esc_html( $category->name );
if ( $category->count > 0 ) {
echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count">(' . esc_html( $category->count ) . ')</mark>', $category ); // WPCS: XSS ok.
}
echo '<p>Add your text here</p>';
?>
</h2>
<?php
}
Screenshot of output
Image Link: https://cloudup.com/cbpgr0ULeZx
I hope this helps.