title: FacetWP template - Woocommerce product loop - show price
body: <p>I'm using the FacetWP plugin to display Woocommerce products in a custom page. </p>
  
  <p>I built a template with product loop that displays product thumbnail, title,  excerpt and product price, but i'm struggling to display the price. It just won't show up.</p>
  
  <p>My product loop template looks like this:</p>
  
  <pre><code>&lt;?php while ( have_posts() ) : the_post(); ?&gt;
     &lt;div class="facet-courses"&gt;
        &lt;?php the_post_thumbnail('thumbnail', array('class' =&gt; 'alignleft')); ?&gt;
        &lt;div&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div&gt;&lt;?php the_excerpt(); ?&gt;&lt;/div&gt;
        &lt;div&gt;
          &lt;?php
              global $post; $product; 
              $product = new WC_Product(get_the_ID());
              wc_price($product-&gt;get_price_html()); 
              ?&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;?php endwhile; ?&gt; 
  </code></pre>
  
  <p>I have tried to fetch the price also with <code>$product = new WC_Product( $post-&gt;ID );</code>
  or <code>$product = get_product(get_the_ID());</code> but none of it seems to work.</p>
  
  <p>Where am I going wrong?</p>