Engine23
blogBannerImage
By Engine23

Magento - Get a Product ID by its SKU

$product_id = Mage::getModel("catalog/product")->getIdBySku( $_sku );