Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Hi.Is it possible to create product collection from entitys ids? 
 
alesto
Guru
 
Total Posts:  624
Joined:  2009-03-21
 

Hi.Is it possible to create product collection from entitys ids?

 
Magento Community Magento Community
Magento Community
Magento Community
 
DavidAlger
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2009-03-17
 

Mage::getResourceModel(’catalog/product_collection’)->addAttributeToFilter(’entity_id’, array(’in’ => array(’1’, ‘2’, ‘3’));

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top