I was fortunate enough to find the following code snippet to add content below the products on a WooCommerce category/archive page:
on wpse_wc_category_footer_link() {
// woocommerce_after_main_content is a generic hook; check we're on a category page.
if ( ! is_product_category() ) {
return;
} ?>
<!-- Your markup for category pages belongs here... -->
<a href="#">My Link</a>
<?php
}
add_action( 'woocommerce_after_main_content', 'wpse_wc_category_footer_link', 5 );
However, I need to modify the code to target specific WooCommerce category/archive pages. I have about 10 categories and the custom content needs to be different for each category.
I was fortunate to find the code above, but I'm not proficient writing code and need help customizing it for individual categories.