Adding customized data to e-mails

Sent e-mails can be fully customized using our JavaScript API:

Extension.setGlobalValue(id, value);

For example, you could send the current date adding this code that will be executed just before the pickzen is completed:

In this example, the parameter current_date will be available in the email template using %current_date%

Being the received email:

Last updated