title: Change "in stock" text on WooCommerce
body: <p>Currently, on the single product page the in stock text shows up as "# in stock".</p>
  
  <p>I'd like to alter the code a bit but haven't found a solution. I wasn't able to find what exact file that line of code is coming from. price.php seemed to have this </p>
  
  <pre><code>&lt;link itemprop="availability" href="http://schema.org/&lt;?php echo $product-&gt;is_in_stock() ? 'InStock' : 'OutOfStock'; ?&gt;" /&gt;
  </code></pre>
  
  <p>But it doesn't do anything. The class is called "stock" when I inspect element.</p>
  
  <p>I tried this bit of code to add in functions.php: </p>
  
  <pre><code>add_filter( 'woocommerce_get_availability', 'custom_get_availability', 1, 2);
  
  function custom_get_availability( $availability, $_product ) {
      //change text "In Stock' to 'SPECIAL ORDER'
      if ( $_product-&gt;is_in_stock() ) $availability['availability'] = __('SPOTS LEFT', 'woocommerce');
  
      //change text "Out of Stock' to 'SOLD OUT'
      if ( !$_product-&gt;is_in_stock() ) $availability['availability'] = __('SOLD OUT', 'woocommerce');
          return $availability;
      }
  </code></pre>
  
  <p>However, I want to be able to alter it a bit. I want to add the stock quantity in front of 'SPOTS LEFT' but I don't know where to place it. It doesn't seem like php can go inside the (''). </p>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;?php echo $product-&gt;get_stock_quantity(); ?&gt;
  </code></pre>
  
  <p>I want to take it up one more notch and actually have the state the number spots left only if the quantity is less than 6. Else, state sold out. Anything above 5 spots will not show. 
  I'm not sure what the exact syntax is! Any advice would be great. </p>