Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can now allow customers to download their tickets directly from an email. In order to do so:In the order confirmation email configuration, add the following command at the top of the document:

{#addProperty($document "showTicketUris" "true")
{#if(!$document.order.ticketUris.isEmpty())}
{#set($ticketUri = "#joinParts($document.order.ticketUris)")}
{#end}


  • In the section of "PRINT_AT_HOME" and "ELECTRONIC", add the following command:
    {#if($stxHelper.getProperty($document, "showTicketUris", false, "", "") == "true")#if($document.order.ticketUris.size() == 1)} or download your tickets directly{#end#end}
    The text "or download your tickets directly" is the text that will be displayed in the confirmation email. The link "your tickets" must take the value "https://$ticketuri/".

...