I have the following code to iterate over all products and echo noise and manufacturer, but $ manu is always empty, even if I understood sku correctly.
private function organize() { $products = Mage::getModel('catalog/product')->getCollection(); foreach ($products as $product) { $sku = $product->getSku(); $manu = $product->getAttributeText('manufacturer');
It works like a script command line that extends from Mage_Shell_Abstract
What could be wrong with my code?
David
source share