...
- In the order confirmation email configuration, set
Add the following attribute and set to
"True":
{#addProperty($document "showTicketUris" "true")
{#if(!$document.order.ticketUris.isEmpty())}
{#set($ticketUri = "#joinParts($document.order.ticketUris)")}
{#end}
on the top of the document
Tne:
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
...