title: Add a product tag to product name in Woocommerce archive pages
body: <p>I'm trying to add product tag below product name on Woocommerce. I found a similar code here and tried to customize it but i can't get it work.</p>
  
  <pre><code>/**
   * Add product's brand name to product's name.
   */
  add_filter( 'the_title', 'mycode_add_brand_to_product_title', 10, 2 );
  function mycode_add_brand_to_product_title( $title, $id ) {
    $type = get_post_type( $id ); 
    if ( $type != 'product' ) { return $title; }
    $terms = wc_get_product_terms( $post-&gt;ID, 'product_tag' );
    $brand = array_shift( $terms );
    if ( !empty( $brand ) ) {
      $title = $brand . ' ' . $title;
    }
    return $title;
  }
  </code></pre>
  
  <p>Could someone please help? </p>
  
  <p>Here's a preview what i want to achieve:</p>
  
  <p><a href="https://i.stack.imgur.com/JRoRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JRoRh.png" alt="Add tag below name - Woocommerce"></a></p>