Revert finalized means that if you delete an order it will attempt to restock the order items + undo any discount code / gift card usages.
To send an order canceled email you'd need to implement this yourself. You could setup the email in the emails section, then hook into the events system to listen for an order being cancelled (see docs on events here https://docs.teacommerce.net/3.4.0/api/events/), then in your handle use EmailTemplateService.Instance.Get(storeId, templateId) to retrieve your template and then call the template template.Send(order); method to trigger sending the email.
Order cancel mail sent in Teacommerce
How can we set a cancellation mail and send when an order is canceled on tea commerce. And secondly what does "revert finalize" means in orders
Hi Vineeth,
Revert finalized means that if you delete an order it will attempt to restock the order items + undo any discount code / gift card usages.
To send an order canceled email you'd need to implement this yourself. You could setup the email in the emails section, then hook into the events system to listen for an order being cancelled (see docs on events here https://docs.teacommerce.net/3.4.0/api/events/), then in your handle use
EmailTemplateService.Instance.Get(storeId, templateId)
to retrieve your template and then call the templatetemplate.Send(order);
method to trigger sending the email.Hope this helps
Matt
Perfect :) Thanks Matt :D
is working on a reply...