Magento
Magento: Product Collection with specific ids
getCollection();
$_productCollection->addAttributeToFilter('status', 1); //enabled
$_productCollection->addAttributeToFilter('visibility', 4); //catalog, search
$_productCollection->addAttributeToFilter('entity_id', array('in' => $productIds));
?> (more…)