I have a product attribute called remote_image_link. When I retrieve a product using this code:
$mageProduct = Mage::getModel('catalog/product') ->getCollection() ->addFieldToFilter('sku',"1234")->getFirstItem();
And then try and get the value of the attribute RemoteImageLink,
Nothing is returned. But when I add this code:
$mageProduct = Mage::getModel('catalog/product')->load($mageProduct->getId());
Then it works and I can get a value for the remote_image attribute.
How come I have to call load, aren't I loading using the addFieldToFileter