You can now allow customers to download their tickets directly from an email. In order to do so:
- In the configuration of the order confirmation email, set the following attribut to true: "{#addProperty($document "showTicketUris" "true")"
In the location where you want to display the URL to download the tickets, add:
{#if($stxHelper.getProperty($document, "showTicketUris", false, "", "") == "true")#if($document.order.ticketUris.size() == 1)} or download your tickets directly{#end#end}.
with hyperlink your tickets = $ticketUri
The link is then displayed in the confirmation email.