Developer forum

Forum » Swift » Order state flow email - Placeholder tag for Recipient email

Order state flow email - Placeholder tag for Recipient email

Pedro Meias
Pedro Meias
Reply

Hi

DW 9.17.2, Swift v1.26.0

We are using Order state emails and we would like to know if there is a placeholder tag for the recipient email - similar to tag EmailMessaging:Recipient.Email in Email Marketing

Thank you.


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Pedro

The mail is sent to the user of the order so you have access to the order email address using CustomerEmail or DeliveryEmail that is also available as a template tag when rendering the order in the state change template.

BR Nicolai

 
Pedro Meias
Pedro Meias
Reply

Hi Nicolai,

We are trying to get the receipient that is configured in the order state, (send to others) on screenshot below. These should be different from the order user.

 

Just to try and give some context, we are trying to establish an order flow with approvals.

-After the order is submitted, it will move to a "Pending Approval" state, and an email will be sent to the user responsible for the approval (defined in the order state as screenshot)

 

 

Thank you.

 

You must be logged in to post in the forum