WooCommerce – Add product category below product price [closed]

Try this code.

add_action( 'woocommerce_after_shop_loop_item_title', 'add_product_cat', 25);
 function add_product_cat() {
 global $product;
 $product_cats = wp_get_post_terms($product->id, 'product_cat');
 $count = count($product_cats);
 foreach($product_cats as $key => $cat)
 {
     echo
    '<span class="category-title">
        <a href="'. get_term_link( $cat->term_id ) .'"><span class= "category-title_'.$cat->slug.'">'.$cat->name.' </span></a>
        </span>';
   if($key < ($count-1))
     {
         echo ' ';
     }
     else
     {
         echo ' ';
     }
 }
}

Updated Part

<a href="'. get_term_link( $cat->ID ) .'"><span class= "category-title_'.$cat->slug.'">'.$cat->name.' </span></a>

added link to that particular term.

tech