How can I display product categories under product title on my single product pages? I’ve tried adding the following to the child theme’s functions.php, but it didn’t work:
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_print_category_name’, 20 );
Is there something like that I can do?
Thanks in advance,
Site URL: hidden Theme version: 3.11.1 WooCommerce version: 3.0.5