title: How to get the stock quantity of an article from woocommerce?
body: <p>i got a little problem with displaying the stock quantity correctly.</p>
  
  <p><strong>heres the loop:</strong></p>
  
  <pre><code> &lt;?php
   /**
   * Loop Price
   *
   * @author      WooThemes
   * @package     WooCommerce/Templates
   * @version     1.6.4
   */
  
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  
  global $product;
  ?&gt;
  
  &lt;?php if ( $price_html = $product-&gt;get_price_html() ) : ?&gt;
  &lt;span class="price"&gt;PREIS:&lt;span class="amount"&gt;&lt;?php echo $price_html; ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;p class="stock-m13"&gt;&lt;?php get_sku(get_the_ID()); ?&gt;&lt;/p&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>i want to show the user in the stock-m13 p the available quantity but im just gettin errors like "call to undefined function get_sku()".</p>
  
  <p>what am i doing wrong?
  thx for any help.</p>