title: Get custom attribute from product in Magento 1.9
body: <p>I'm trying to fetch some product data based on the products SKU. This is working, but I also need to get a custom added attribute at the same time, named 'sku_supplier'. Is this possible?</p>
  
  <p>This is what I got:</p>
  
  <pre><code>require $_SERVER['DOCUMENT_ROOT'] . "/app/Mage.php";
  Mage::app();
  
  $sku = '748547';
  
  $products = Mage::getResourceModel('catalog/product_collection');
  $products-&gt;addAttributeToSelect('*');
  $products-&gt;addAttributeToFilter('visibility', array('neq' =&gt; 1));
  $products-&gt;addAttributeToFilter('status', 1);
  $products-&gt;addAttributeToFilter('sku', $sku);
  $products-&gt;setCurPage(1)-&gt;setPageSize(1);
  $products-&gt;load();
  
  if ($products-&gt;getFirstItem()) {
      $product       = $products-&gt;getFirstItem();
      $strProdName   = $product-&gt;getName();
      $strProdSku    = $product-&gt;getSku();
      $strProdSkuSup = $product-&gt;getSku_Supplier(); // &lt;= I want to show this
  }else{
      $addError          = 'true';
      $addErrorMessage[] = 'Error...';    
  }
  </code></pre>
  
  <p>Thanks in advance,</p>