Order number in email receipt
How do I put an invoice number in the email receipt. I can see the code might be something like:
<?php
if(!session_id()) session_start();
echo ((isset($_SESSION["eCart1_OrderID"]))?$_SESSION["eCart1_OrderID"]:"");
?>
But can't see where to put the code using UE. Tried various but nothing seems to work without corrupting something.