I'd like to add multiple addFieldToFilter
to my filter
.
This is what I currently have:
$cards = Mage::getModel('giftcards/giftcards')->getCollection()
->addFieldToFilter('order_id', $order->getId());
$cards = Mage::getModel('giftcards/giftcards')->getCollection()
->AddFieldToFilter('gc_sent', false);
Is this the right way to do this? Or should I be doing it another way?
Thank you.