Tag Archives: Functions

Magento – How to get Product ID from SKU

To get the product Id from its sku, use the function getIdBySku()

You may wish to then load the product from this id