KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I know it's possible to filter a collection by one SKU, as below: $_testproductCollection = Mage::getResourceModel('catalog/product_collection') ->addAttributeToSelect('*') ->addAttributeToFilter('SKU', array('like'=>array('my-sku'))); $_testproductCollection->load(); But is there some way to add a list of SKU's, like the following (which doesn't work): ->addAttributeToFilter('SKU', array('like'=>array('my-sku1, my-sku2, my-sku3')))
Tags (comma-separated)
Save Edits
Cancel