i want to get all attribute of the product in the product collection.
i've try this
$samp_pro = Mage::getModel('catalog/product')->load(1223)->getData();
it'll load attribute meta keyword.
But when i load it in collection ,doesn't get the meta keyword attribute, the code is
$products1 = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('meta_keyword', array('like' => '%'.$metaData.'%'))
->addAttributeToSort('name', 'ASC')
->getData();
I need to load meta keyword attribute in collection,help me to fix this issue
Thanks.