bakte Posted December 12, 2012 Share Posted December 12, 2012 Hello, I am looking for a way to send different email template according to my carriers for my orders. Any hints? if (Validate::isEmail($this->context->customer->email)) Mail::Send( (int)$order->id_lang, 'order_conf', Mail::l('Order confirmation', (int)$order->id_lang), $data, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, $file_attachement, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); } Thanks! Link to comment Share on other sites More sharing options...
pmikhey Posted February 4, 2013 Share Posted February 4, 2013 I need this too! Link to comment Share on other sites More sharing options...
pmikhey Posted February 17, 2013 Share Posted February 17, 2013 (edited) You can add additional order statuses in BO and in each order status provide your custom email templates. Custom templates can be created on the basis of already avaliable in /mails/../ directory. This works for me. Edited February 17, 2013 by pmikhey (see edit history) 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