I have two payment methods enabled in one of my nop stores and store owner only wants to get order placed emails for checkMoneyOrder type orders. He doesn't want to get order placed emails for credit card orders. I want to know is that is there a way to do this in message templates, instead of modifying the code. If I have to modify the code to filter this using payment methods, from where should I start with the code.
Thanks in Advance.
You would need to customise
The routine that sends the message is
public virtual IList<int> SendOrderPlacedStoreOwnerNotification(Order order, int languageId)
Or you could do the check of the payment type in the calling routine
protected virtual void SendNotificationsAndSaveNotes(Order order)