Hi,
Two emails are sent when the order status changes:
One according to "
Ecommerce.OrderStatusNotificationToAdministrator" template
and one based on "
Ecommerce.OrderStatusNotificationToCustomer".
The emails are sent according below description:
1.
Template: E-commerce - Order status notification to administrator-
Email defined in template: YESFrom: email defined in template
To: defined in Tools - Ecommerce - Configuration - Store settings - Send e-commerce e-mails to:
-
Email defined in template: NOFrom: customer's email
To: defined in Tools - Ecommerce - Configuration - Store settings - Send e-commerce e-mails to:
2.
Template: E-commerce - Order status notification to customer
-
Email defined in template: YESFrom: defined in template
To: customer's email address
-
Email defined in template: NOFrom: defined in Tools - Ecommerce - Configuration - Store settings - Send e-commerce e-mails from:
To: customer's email address
In case you want to customize this default behavior, you will have to write your own CustomOrderInfoProvider and override the default methods:
SendOrderStatusNotificationToAdministrator / SendOrderStatusNotificationToCustomer
Hope this makes sense.
Could you please specify which version/hotfix are you using in case your behavior is different?
Best regards,
Ivana Tomanickova