Posted on 12/06/2017 20:46:53
Hi Nicolai,
Sure you can, what else would you use. (facepalm)
Ofcourse I am using Notification subscriber.
Anyway...
That's what I am using at the moment:
[Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.eCommerce.Cart.CheckoutDoneOrderIsComplete)]
public class OrderComplete : Dynamicweb.Extensibility.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.NotificationArgs args)
{
var myArgs = (Dynamicweb.Notifications.eCommerce.Cart.CheckoutDoneOrderIsCompleteArgs)args;
var order = myArgs.Order;
My question is how do you access the order confirmation email, and send email to additional different (not-constant) email adress?
If that is possible in the first place.
I tried poking arround in Order object, but could not see any hints.
Maybe I should try subscribing to other notification? I tried several others, but had same result.
/Dmitrij