Page History

Versions Compared

Key

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

...

  • In the order confirmation email configuration, add the following command on the top of the document:
    {#addProperty($document "showTicketUris" "true")
    {#if(!$document.order.ticketUris.isEmpty())}
    {#set($ticketUri = "#joinParts($document.order.ticketUris)")}
    {#end}


  • In the location where you want to display the URL to download the tickets, addsection 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}.

    with hyperlink your tickets = $ticketUri

...


  • And this is how the link is then displayed in the confirmation email if the shipment mode of order is either "PRINT_AT_HOME" or "ELECTRONIC" and there are some tickets could be downloaded:

Image Added

  • Note: this was well configured in the standard document, you can always download the standard document and see how it is configured


Image Added.Image Removed