Jump to content

[ SOLVED] Help in Mail Template


Recommended Posts

I create a receive.html file and change the html to send after an order is placed.

But i receive 2 emails, the 1st is order_conf.html and 2nd is receive.html

the oder_conf.html shouldn't been sent because i didnt selected in the order statuses.

anyone know where is the problems ??

Thanks in advance

Link to comment
Share on other sites

The order confirmation mail is hardcoded to be sent on lines 375-376 of classes/PaymentModule.php (in PrestaShop v1.3.2):

if ($orderStatus->send_email AND Validate::isEmail($customer->email))
   Mail::Send(intval($order->id_lang), 'order_conf', 'Order confirmation', $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);



You could comment out these lines, but then you won't ever get the order confirmation email.

Link to comment
Share on other sites

×
×
  • Create New...