Jump to content

Stop Tracking Number Email


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...