I've create a taxonomy called "couchages" for product with value : 1 couchage, 2 couchages, 3 couchages,…
I would like to print the value of this taxonomy, for each product on the archive page, like this:
- Image1,product1, price1, taxonomy value of the product 1
- Image2,product2, price2, taxonomy value of the product 2 …
I would like to use a function (in my function.php) to insert this value (taxonomy).
function display_taxonomy_product_archives() {
echo "VALUE OF THE COUCHAGE TAXONOMY";
}
add_action( 'woocommerce_after_shop_loop_item_title', 'display_taxonomy_product_archives', 25 );
Some help will be appreciated.