there are many variables which we can use for email templates and Unfortunately I couldn't find purchase order and moreover this file is html so how can I show the customer their purchase order number in notification email? I know that it is a payment method and we have a variable for that but it showed nothing to me
the variable is {{var paymentMethod}}
I know that I should write my getpurchaseorder function inside order.php in mage/sales/order.php how ever I don't know how to write it to get the purchase method which is purchase order and then get the purchase order number