title: Add backorders stock status to Woocommerce variable product dropdown
body: <p>I would like to show the stock status of variable products in the dropdown menu, including 'on backorder' as most products on my site are available on backorder rather than being 'out of stock'. </p>
  
  <p>I have tried the answer from <a href="https://stackoverflow.com/questions/47180058/how-to-add-variation-stock-status-to-woocommerce-product-variation-dropdown/55603186#55603186">How to add variation stock status to Woocommerce product variation dropdown</a> however, every variable is listed as 'in stock' because the product is set to allow backorders.</p>
  
  <p>I would like to incorporate checking the actual stock levels like below, but I can't get it to work properly with the above link.</p>
  
  <pre><code>$var_stock_count = $variation-&gt;get_stock_quantity();
  
  // if there are 0 or less, display 'on backorder'
  if( $var_stock_count &lt;= 0 ) {
     return ' - (On Backorder)';
  }
  else {
     return ' - (In Stock)';
  }
  </code></pre>
  
  <p>I need help incorporating the two pieces of code together. Thank you!</p>