Skip to main content
7 events
when toggle format what by license comment
Jan 24, 2019 at 12:23 comment added Rahul Singh first you check what you getting in collection, whether 'another_type' 'first_type' or 'supplier_id' attribute exist or not
Jan 24, 2019 at 11:28 comment added bakis Can I get any working example? I am not really sure how to implement it, cause I am getting empty array or error. And again, there is no much information on Google. My whole query looks like this: $products = Mage::getResourceModel('catalog/product_collection')->getSelect()->where("(supplier_id = '1' AND product_type = 'first_type') OR (supplier_id = '2' AND product_type = 'another_type')");
Jan 24, 2019 at 5:37 history edited Rahul Singh CC BY-SA 4.0
added 194 characters in body
Jan 24, 2019 at 5:26 history undeleted Rahul Singh
Jan 24, 2019 at 5:26 history edited Rahul Singh CC BY-SA 4.0
deleted 174 characters in body
Jan 24, 2019 at 5:17 history deleted Rahul Singh via Vote
Jan 24, 2019 at 4:54 history answered Rahul Singh CC BY-SA 4.0