I have a file that I am using to call all magento products which makes some calculations and then saves the result as an attribute. The issue I am having is that only about half of the products are being called.
$collection = Mage::getModel('catalog/product') ->getCollection() ->addAttributeToSelect('*');
I have tried a few variations of this such as adding store id filter, calling them based on category and removing the select all part. I am really stumped with this now and I can't figure out why only certain products are called. The only thing I have noticed is that of the products that don't get called, they all seem to be simple products. This isn't to say that no simple products get called though
define('MAGENTO', realpath(dirname(__FILE__))); require_once MAGENTO . '/app/Mage.php'; Mage::app();