I have Craft Commerce installed, and I wanted to search title against both product title and variant title. I looked up in the database, I noticed that products and variants are of two element types,
Commerce_Variant. As far as I know, with
ElementCriteriaModel you can only query against one element type, like what I have now:
$criteria = craft()->elements->getCriteria('Commerce_Product');
Is it possible to query against multiple element types in one db call?