Пример #1
0
 /**
  * Send confirmation success email if "is_send_success_email" value equals true
  *
  * @return Sitemaster_Checkout_Model_Subscriber
  */
 public function sendConfirmationSuccessEmail()
 {
     if ($this->getIsSendSuccessEmail()) {
         return parent::sendConfirmationRequestEmail();
     }
     return $this;
 }
Пример #2
0
 public function sendConfirmationRequestEmail()
 {
     if (Mage::helper('mailchimp')->checkSendSubscribe()) {
         return parent::sendConfirmationRequestEmail();
     } else {
         return $this;
     }
 }
Пример #3
0
 public function sendConfirmationRequestEmail()
 {
     if (Mage::getStoreConfig('monkey/general/active', Mage::helper('monkey')->getThisStore()) == 1) {
         return $this;
     } else {
         return parent::sendConfirmationRequestEmail();
     }
 }
Пример #4
0
 /**
  * Send Confirmation request Email
  * 
  * @override
  * @todo    make this per store scope!
  * @return  MailUp_MailUpSync_Model_Subscriber
  */
 public function sendConfirmationRequestEmail()
 {
     if ($this->_getConfig()->isNewsletterNotificationDisabled()) {
         Mage::log("Newsletter Notification DISABLED: sendConfirmationRequestEmail");
         return $this;
     } else {
         return parent::sendConfirmationRequestEmail();
     }
 }
Пример #5
0
 public function sendConfirmationRequestEmail()
 {
     $store = Mage::helper('monkey')->getThisStore();
     if (Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_ACTIVE, $store) == 1 && !Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_CONFIRMATION_EMAIL, $store)) {
         return $this;
     } else {
         return parent::sendConfirmationRequestEmail();
     }
 }