Hi there,
i am facing a problem with a Custom Text Field (ACF) which should appear below the Shop Product Loop. I am using it to have an additional short category description below the product loop.
I used Advanced Custom Fields in numerous Templates and until now it worked without a hassle. Are the Woocommerce Hooks different with the Woodmart Template?
Here is the Snippet i used to place “The Field”.
add_action( ‘woocommerce_after_main_content’, ‘productcat’, 50 );
function productcat() { ?>
<?php if(get_field(‘katdesc’)) { ?>
<div class=”cg-katdesc”><?php the_field(‘katdesc’); ?></div>
<?php }
}
Can you help me out?
I also tried it with woocommerce_after_shop_loop but this didnĀ“t work as well. The fields name is correct.