Developer forum

Forum » Development » Generate Order Tags

Generate Order Tags

Nuno Aguiar1
Reply

Hi,

 

Is there a way to generate all of the standard order tags?

 

We have to send an attachment to an e-mail when an order is complete (cart v1). We know that is impossible using the API, so we are going to send a second e-mail to the client, with the attachment. However we would like to have access to all of the order's tags, instead of having to create them manually.

 

Is this possible?

 

Nuno


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Nuno,

 

You can use this method to render the order detail information:

 

 

Dynamicweb.eCommerce.Frontend.Renderer.RenderOrderDetails(template, order, true);

 

Hope this helps :)

 

- Jeppe

 
Nuno Aguiar
Reply

Hi Jeppe,

 

Thanks, I will take a look at it.

 

Nuno

 

You must be logged in to post in the forum