title: WooCommerce Custom Loop to get all product from one specific category
body: <p>I try to find the code (short code) in the woo comm plugin that made the list of all the product from one category, to be able to modify it... no luck after 1 hours, still no find.</p>
  
  <p>So i start coding it myself (reinventing the wheel) and here what i try to get</p>
  
  <p>get me all the product from category ID="151" and be able to output the name, the permalink etc etc...</p>
  
  <p>this is the code now, that return everything.... way too much ! and i don't know how to filter it</p>
  
  <pre><code>{
  $args = array(
      'post_type' =&gt; 'product',
      'posts_per_page' =&gt; 99
  );
  
  $loop = new WP_Query( $args );
  if ( $loop-&gt;have_posts() ) {
  while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post();
      //echo get_title()."&lt;br/&gt;";
      var_dump($loop);
  endwhile;
  } 
  </code></pre>