I’ve been looking for an answer for a couple of hours now, but I can’t find what I’m looking for so i’ll give it a go here in the forums.
I want to load a product by a custom attribute (product_number) instead of the id.
$product = Mage::getModel('catalog/product')->load('FU27066');
Are there any existing methods for this? I couldn’t find anything in the phpDocs unfortunately.