ladivito Posted November 26, 2010 Share Posted November 26, 2010 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.htmlthe 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 More sharing options...
ladivito Posted November 28, 2010 Author Share Posted November 28, 2010 anyone able to help ? Link to comment Share on other sites More sharing options...
rocky Posted November 28, 2010 Share Posted November 28, 2010 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 More sharing options...
ladivito Posted November 28, 2010 Author Share Posted November 28, 2010 Thanks rocky.....if it is hard-coded then i know what to do already. Link to comment Share on other sites More sharing options...
Recommended Posts