Пример #1
1
 public function sendConfirmationSuccessEmail()
 {
     if (Mage::getStoreConfig('monkey/general/active', Mage::helper('monkey')->getThisStore()) == 1) {
         return $this;
     } else {
         return parent::sendConfirmationSuccessEmail();
     }
 }
Пример #2
0
 public function sendConfirmationSuccessEmail()
 {
     if (!Mage::getStoreConfig('remarketing/subscription/signup_success_email')) {
         return $this;
     }
     return parent::sendConfirmationSuccessEmail();
 }
 public function sendConfirmationSuccessEmail()
 {
     if (Mage::helper('ddg')->isNewsletterSuccessDisabled($this->getStoreId())) {
         return $this;
     } else {
         parent::sendConfirmationSuccessEmail();
     }
 }
Пример #4
0
 public function sendConfirmationSuccessEmail()
 {
     if (Mage::helper('mailchimp')->checkSendSubscribe()) {
         return parent::sendConfirmationSuccessEmail();
     } else {
         return $this;
     }
 }
Пример #5
0
 /**
  * Send Success Email
  * 
  * @override
  * @todo    make this per store scope!
  * @return  MailUp_MailUpSync_Model_Subscriber
  */
 public function sendConfirmationSuccessEmail()
 {
     if ($this->_getConfig()->isNewsletterNotificationDisabled()) {
         Mage::log("Newsletter Notification DISABLED: sendConfirmationSuccessEmail");
         return $this;
     } else {
         return parent::sendConfirmationSuccessEmail();
     }
 }
Пример #6
0
 public function sendConfirmationSuccessEmail()
 {
     $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::sendConfirmationSuccessEmail();
     }
 }
Пример #7
0
 public function sendConfirmationSuccessEmail()
 {
     $store = Mage::helper('monkey')->getThisStore();
     Mage::log('store ' . $store->getId(), null, 'santiago.log', true);
     Mage::log(Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_CONFIRMATION_EMAIL, $store), null, 'santiago.log', true);
     if (Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_ACTIVE, $store) == 1 && !Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_CONFIRMATION_EMAIL, $store)) {
         return $this;
     } else {
         Mage::log('parent', null, 'santiago.log', true);
         return parent::sendConfirmationSuccessEmail();
     }
 }