Post by frame » Wed Jun 18, 2008 6:06 pm

I just wanted to insert 2 lines in order update e-mail but I couldn't find the way how to.
Witch file(s) do I have to modify?
Thanks for your help!

New member

Posts

Joined
Sat Apr 26, 2008 7:24 pm

Post by bruce » Wed Jun 18, 2008 9:25 pm

update() function in admin\controller\order.php

Code: Select all

	    		$mail->setTo($order_info['email']);
			$mail->setFrom($config->get('config_email'));
	    		$mail->setSender($config->get('config_store'));
	    		$mail->setSubject($language->get('email_subject', $order_id));
	    		$mail->setText($language->get('email_message', $order_id, $invoice, $date, $status, $comment));
	    		$mail->send();

and the language file controller\order.php

in the definition for email_message each %s in the text is replaced in turn, by the value in the 2nd, 3rd... parameters

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm
Who is online

Users browsing this forum: No registered users and 3 guests