Add All Attributes To A Collection

Posted Over 11 years ago. Visible to the public.
$attributes = Mage::getSingleton('catalog/config')->getProductAttributes();
$collection->addAttributeToSelect($attributes);

Mike Whitby
Last edit
Over 10 years ago
Posted by Mike Whitby to Magento (2012-08-29 13:21)