To get a product by its SKU you can do:
$iProductId = Mage::getResourceModel('catalog/product')->getIdBySku($sSku); $oProduct = Mage::getModel('catalog/product')->load(iProductId);
To get a product by its SKU you can do:
$iProductId = Mage::getResourceModel('catalog/product')->getIdBySku($sSku); $oProduct = Mage::getModel('catalog/product')->load(iProductId);