Sorry I guess I didn't explain enough (and I didn't past enough code either.)
The coding for order number in email which I copy & pasted on previously attached file was copied from confirm_WAUE_HTML_WA_Universal_Email_1.php.
From "confirm.php", I only copied the store summary bit.
From a sound of your comment, I needed to copy more from "confirm.php".
So this time I copied coding from the beginning up to store summary.
Hope this is enough to look through.