title: I just need to break a loop on a specific page (wordpress/woocommerce)
body: <p>Would anyone care to help me disable the loop on a WooCommerce (Wordpress plugin) shop page?</p>
  
  <p>I've used shortcodes to fill the page with the product categories that I need, so now I need to stop WooCommerce from displaying anything underneath my content (WooCommerce is loading the products from the loop but I don't want it to).</p>
  
  <pre><code>&lt;?php woocommerce_product_loop_start(); ?&gt;
      &lt;?php woocommerce_product_subcategories(); ?&gt;
      &lt;?php while ( have_posts() ) : the_post(); ?&gt;
          &lt;?php wc_get_template_part( 'content', 'product' ); ?&gt;
      &lt;?php endwhile; // end of the loop. ?&gt;
  &lt;?php woocommerce_product_loop_end(); ?&gt;
  </code></pre>
  
  <p>^ Somewhere in there I need to implement if(is_shop()) to display nothing on the /shop page, and then elseif to display the above code so that the subcategory pages and product archives don't break.</p>
  
  <p>I would be very grateful for any help...</p>