title: How do I get bundle option selection SKU?
body: <pre><code>&lt;?php
  require_once('app/Mage.php'); //Path to Magento
  umask(0);
  Mage::app("default");
  
  $orderNumber = 260038;  
  
  $order = Mage::getModel('sales/order')-&gt;loadByIncrementId($orderNumber);
  
  foreach ($order-&gt;getAllItems() as $item){ 
  
      $productOptions = $item-&gt;getProductOptions();   
      echo $product_id = $item-&gt;product_id;
  
      $_product=Mage::getModel('catalog/product')-&gt;load($product_id);
      if ($_product-&gt;getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) {
  
          if (isset($productOptions['bundle_options']))
          {               
              foreach ($productOptions['bundle_options'] as $productOption)
              {               
                  echo $value = $productOption['value'][0]['title']; 
                  echo ' || ';                
                  echo $value = $productOption['value'][0]['qty'];                
                  echo ' || '; 
                  echo $value = $productOption['value'][0]['price'];  
                  echo "&lt;br&gt;";                
              }  
          }           
      }       
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/bdXme.png" alt="enter image description here"></p>
  
  <p>I am able to get the title, qty and the price of product, I also want to get the product SKU.</p>