jtyana Posted August 29, 2008 Share Posted August 29, 2008 Hello,I would like to send the order_confirmation email to customers but not send the payment email as well.I have 2 payment options 1. bank_wire and 2. credit cardI would like the bank_wire option to send both the order_conf.html email and the bank_wire.html email with my bank detailsWith the credit card payment option, I only want to send the order_conf email as my payment gateway sends the payment emailI tried turning off email customer in order status but that turns all customer emails off. I still want order_conf to be sentIf I must, I am happy to turn all payment emails off and just send order_conf email, though I would prefer to have the choice of sending payment email or not depending on the order status setting.Thanking for helping Link to comment Share on other sites More sharing options...
jtyana Posted August 29, 2008 Author Share Posted August 29, 2008 I worked it out and only minutes after I asked the question :roll: In classes/PaymentModule.php changeFrom if ($orderStatus->send_email AND Validate::isEmail($customer->email)) To if (Validate::isEmail($customer->email)) This will ignore the order status email setting and always send the order confirmation emailThe payment email can then be controlled by the Send email to customer setting in the BO Link to comment Share on other sites More sharing options...
Masino Sinaga Posted August 19, 2009 Share Posted August 19, 2009 Thanks so much. This is what I am looking for. Never thought about it before. Link to comment Share on other sites More sharing options...
Recommended Posts