This question already has an answer here:
Need to generate the following query with getCollection() however unable to figure it out.
(id_path = '12/xyz') OR
(request_path = '/abc' AND store_id = '1')
Tried the following but I need it the other way:
//gives (...) AND
(.. OR ..)
$collection->addFieldToFilter('id_path', '12/xyz'); $collection->addFieldToFilter( array('store_id', 'request_path'), array('1', '/abc') );