In magento collection I want to filter values using “store” attribute. I have some values in array. Based on that array I need to filter values. But both below functions are not working.
$collection->addAttributeToFilter('store',array('in' => array(1,2,3)));
$collection->addFilter('store',array('in' => array(1,2,3));
Is there any other possibility to make it work?
addFieldToFilter did the job 🙂