getRequest()->getParam('code'))) { $card = Mage::getModel('giftcards/giftcards')->load($cardCode, 'card_code'); if ($card->getCardStatus() == 1) { return $card; } } return false; } }