Magento – How to get Product ID from SKU

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



Leave a Reply

Your email address will not be published. Required fields are marked *


-->