I have a custom script to update prices and stock automaticly.
To get all products attributes I use:
$collection = Mage::getModel('catalog/product')->getCollection() ->addAttributeToSelect('*');
I saw that other people noticed that not all products-id are loaded. This I figured out. Because the disabled products are not in de EAV flat tables.
- So my question, how to I get the same output with the collection above but then with the disabled products included?
- And also is there another way to load all products id and attributes by name e.g. foreach product, id, price, stock.... without loading all the overhead