3 of 3
added 194 characters in body
Rahul Singh
  • 1.6k
  • 2
  • 15
  • 34

Can you try by this way, I think this will solve your problem

->getSelect()->where(" (`Your attribute` = 'Value' AND `Your attribute` = 'Value') OR (`Your attribute` = 'Value' AND `Your attribute` = 'Value')");

In your case in the getSelect() could be:

->getSelect()->where("(`supplier_id` = '1' AND `product_type` = 'first_type') OR (`supplier_id` = '2' AND `product_type` = 'another_type')");
Rahul Singh
  • 1.6k
  • 2
  • 15
  • 34