Developer forum

Forum » Development » Change the recipient of store mail depending on basket

Change the recipient of store mail depending on basket

Allan Iversen
Reply

Hey

I have a solution running on DW7 (19.2.8.3) with eCommerce - upgrade to DW8 not possible at this time. I need to be able to change the recipient of the store email depending on which products are put into the basket. Is this possible?

I was looking into the DW8 API and I stumbled upon this subscription Dynamicweb.Notifications.eCommerce.Cart.SendingConfirmationMail - it looks like it probaly would let me change it. Is something similar possible with DW7?

Perhaps other ways of doing this?

- Allan


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
This post has been marked as an answer

Hi Allan

There is no real equivalent notification in DW7.2 to do this. The closest is called SendMails in the CartV2 notification namespace. You might be able to manipulate the ModuleSettings.Mails property in order to achieve what you want.


Hope this helps :)

- Jeppe
Votes for this answer: 0
 
Allan Iversen
Reply
Hi Jeppe,

OK - I will try that.

Thanks.

- Allan

 

You must be logged in to post in the forum