Order email

1 month ago
Hi

Is it possible to specify when an order email is sent or not sent? I don't want to send out an email when orders are pending. For example, cancelling on the payment gateway keeps the order in pending but still sends out an email that says, thanks for your order. Customer's are going to sh*t their pants thinking they've been charged when they've cancelled the payment.

Some sort of workflow would be a great addition if it doesn't already exist.

Thanks.
1 month ago
You can set the OrderPlaced.CustomerNotification Message Template to Inactive then the email will not be sent
1 month ago
But is there a difference in placed as in paid or cancelled? I still want to send an email but only when the customer successfully completes (pays) for their order.

1 month ago
Ok, yeah I think that will work, I'll use the Order processing email as the confirmation.
1 month ago
Yes, I think the OrderProcessing notification would be best for you...

Here's a rough draft of the order workflow / status.  Although it does not directly correspond to notifications (e.g., "Paid" is a Payment Status, not an Order Status.)
(Order Placed)
      |
      V
[Pending]--(Payment Confirmed)-->[Processing]--(Shipped)-->[Complete]
      |
      +--(Cancellation)--> [Cancelled]


(It would be nice to have a complete diagram in the docs ;)
1 month ago
Yes, and as I mentioned a simple workflow or allow email notifications to be tied to events or status, e.g when an order status changes to X then email notification Y is sent.