This snippet allows you to insert custom content below the product archive (product category) template including the main shop page.
In this example, we output “CUSTOM CONTENT HERE” but you are able to output any content you like below the WooCommerce Product Category using this code snippet.
/**
* Snippet Name: WooCommerce Show Custom Content Below Product Archive
* Snippet Author: ecommercehints.com
*/
add_action('woocommerce_after_main_content', 'ecommercehints_content_below_product_archive');
function ecommercehints_content_below_product_archive() {
if ( is_product_category() || is_shop() ) { // Only on the Shop and Category/Archive pages
echo 'CUSTOM CONTENT HERE';
}
}