How to get a product by its SKU programmatically?

See also: