sharingsunshine Posted October 3, 2014 Share Posted October 3, 2014 I am on PS 1.5.6 and I have no modules that are specific to the tracking number email. However, I have to stop it because it is continuing to go out to the customers that purchased every hour on the hour. Please tell me how to stop it or disable it. I have the mail alerts module but I see nothing about the tracking email in it. Thanks, Randal Link to comment Share on other sites More sharing options...
sharingsunshine Posted October 4, 2014 Author Share Posted October 4, 2014 Please help, I have commented out the code that is referenced in the link below, but it keeps sending it out despite that change. http://www.prestashop.com/forums/topic/269307-auto-email-after-set-tracking-number/ find if (@Mail::Send((int)$order->id_lang, 'in_transit', Mail::l('Package in transit', (int)$order->id_lang), $templateVars, $customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null, _PS_MAIL_DIR_, true, (int)$order->id_shop)) { Hook::exec('actionAdminOrdersTrackingNumberUpdate', array('order' => $order)); Tools::redirectAdmin(self::$currentIndex.'&id_order='.$order->id.'&vieworder&conf=4&token='.$this->token); } else $this->errors[] = Tools::displayError('An error occurred while sending an email to the customer.'); change to this: // if (@Mail::Send((int)$order->id_lang, 'in_transit', Mail::l('Package in transit', (int)$order->id_lang), $templateVars, // $customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null, // _PS_MAIL_DIR_, true, (int)$order->id_shop)) // { Hook::exec('actionAdminOrdersTrackingNumberUpdate', array('order' => $order)); Tools::redirectAdmin(self::$currentIndex.'&id_order='.$order->id.'&vieworder&conf=4&token='.$this->token); // } // else // $this->errors[] = Tools::displayError('An error occurred while sending an email to the customer.'); Thanks, Link to comment Share on other sites More sharing options...
sharingsunshine Posted October 4, 2014 Author Share Posted October 4, 2014 Latest attempt: I changed their email addresses in the backoffice -> customers -> and then pressed the edit button. But they are still being sent out. I really need to get this fixed. Please Help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now