title: Displaying image of custom taxonomy in WooCommerce
body: <p>I created a custom taxonomy called 'marque' with CPT UI.
  I created a custom field called 'marque-image' with ACF.</p>
  <p>In my functions.php, I added the following code:</p>
  <pre><code>add_action( 'woocommerce_single_product_summary', 'custom_taxonomy_name' );
  function custom_taxonomy_name() {
      global $product;
      $taxonomy = 'marque'; // &lt;== Here set your custom taxonomy
      if( ! taxonomy_exists(  $taxonomy ) ) 
          return; // exit
      $term_ids = wp_get_post_terms( $product-&gt;get_id(), $taxonomy, array('fields' =&gt; 'ids') );   
      if ( ! empty($term_ids) ) {
          echo get_the_term_list( $product-&gt;get_id(), 'marque', '&lt;span class=&quot;posted_in&quot;&gt;' . _n( 'Marque:', 'Marques:', count( $term_ids ), 'woocommerce' ) . ' ', ', ', '&lt;/span&gt;' );
      }
  }
  </code></pre>
  <p>Everything is fine, my single product shows the name of the taxonomy with a link to the term taxonomy page.</p>
  <p>BUT, I also want to display the image associated to the term of the taxonomy (there is only one image per term)</p>
  <p>I try so many different code I can't remember how many :( But no one is working. Argh!</p>
  <p>If someone could help me.
  Thanks a lot…</p>