kyestu Posted October 15, 2013 Share Posted October 15, 2013 Здравствуйте! Подскажите, в каком файле изменять тему письма рассылки. "[shop name] Подтверждение заказа" Link to comment Share on other sites More sharing options...
absent Posted October 15, 2013 Share Posted October 15, 2013 Здравствуйте! Подскажите, в каком файле изменять тему письма рассылки. "[shop name] Подтверждение заказа" посмотрите класс paymentmodule функция validateorder Link to comment Share on other sites More sharing options...
kyestu Posted October 16, 2013 Author Share Posted October 16, 2013 посмотрите класс paymentmodule функция validateorder А в каком файле? Link to comment Share on other sites More sharing options...
absent Posted October 16, 2013 Share Posted October 16, 2013 А в каком файле? класс paymentmodule classes/paymentmodule.php Link to comment Share on other sites More sharing options...
kyestu Posted October 16, 2013 Author Share Posted October 16, 2013 (edited) Видать, у меня руки кривые. Не могу найти код который отвечает за тему письма. Edited October 16, 2013 by kyestu (see edit history) Link to comment Share on other sites More sharing options...
absent Posted October 16, 2013 Share Posted October 16, 2013 Видать, у меня руки кривые. Не могу найти код который отвечает за тему письма. ещё наводка)) ищи Mail::Send Link to comment Share on other sites More sharing options...
kyestu Posted October 16, 2013 Author Share Posted October 16, 2013 );Mail::Send((int)$order->id_lang,'voucher',sprintf(Mail::l('New voucher regarding your order %s', (int)$order->id_lang), $order->reference),$params,$this->context->customer->email,$this->context->customer->firstname.' '.$this->context->customer->lastname,null, null, null, null, _PS_MAIL_DIR_, false, (int)$order->id_shop); VS 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); Link to comment Share on other sites More sharing options...
absent Posted October 16, 2013 Share Posted October 16, 2013 ); Mail::Send( (int)$order->id_lang, 'voucher', sprintf(Mail::l('New voucher regarding your order %s', (int)$order->id_lang), $order->reference), $params, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, null, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); VS 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 ); Mail::l('Order confirmation', (int)$order->id_lang), Link to comment Share on other sites More sharing options...
kyestu Posted October 16, 2013 Author Share Posted October 16, 2013 (edited) Не могу понять где тут "[shop_name] Подтверждение заказа" Edited October 16, 2013 by kyestu (see edit history) Link to comment Share on other sites More sharing options...
absent Posted October 16, 2013 Share Posted October 16, 2013 Не могу понять где тут "[shop_name] Подтверждение заказа" Mail::l('Order confirmation', (int)$order->id_lang), ::l значит фраза переводится 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