title: WC_Order get_items() and their Quantity
body: <p>I am trying to build an application which texts me my woo commerce order, order items and Quantity,</p>
  
  <p>I am 90% there,</p>
  
  <pre><code>function custom_woocommerce_complete_order_sms( $order_id ) {
          global $woocommerce;
          if ( !$order_id )
          return;
          $order = new WC_Order( $order_id );
  
          $product_list = '';
          $order_item = $order-&gt;get_items();
  
          foreach( $order_item as $product ) {
              $prodct_name[] = $product['name']; 
          }
  
          $product_list = implode( ',\n', $prodct_name );
  
  
  
  
  
  
      require "twilio-php-master/Services/Twilio.php";
  
  
      $AccountSid = "xxxxxxxxx";
      $AuthToken = "xxxxxxxxx";
  
      $client = new Services_Twilio($AccountSid, $AuthToken);
  
  
      $people = array(
          "xxxxxxxxxx" =&gt; "Me",
      );
  
  
      foreach ($people as $number =&gt; $name) {
  
          $sms = $client-&gt;account-&gt;messages-&gt;sendMessage(
  
  
  
              "+44xxxxxxxxxx", 
  
              // the number we are sending to - Any phone number
              $number,
  
              // the sms body
              "Hey $name, there is a new Order, the order is, $product_list"
          );
  
  
      }
  
      }
  </code></pre>
  
  <p>My problem is I do not know how to get the item Quantity , for example my text looks like list, item 1, item 2, item 3,  I want it to say item 1 x1, item 2 x2, item3 x3</p>
  
  <p>I did try and dig into the email php file in abstract woo commerce folder to see how they do as they send Quantities in emails but got a little lost</p>
  
  <p>also in the class WC_Abstract_Order the only other thing I could find is <code>get_item_total</code> which returns to the total of all items</p>