Until recently, to send a reformatted checkout confirmation email it could be achieved by creating/installing a new notification module
e.g. includes/modules/notifications/n_checkoutnew.php
When doing this in the latest Phoenix version(s?), Customer_Notified in order_status_history is not updated.
Instead, in the latest version, an orderMail hook in a new override hook checkout folder can be used to overwrite the stock created email. Though this works it seems to have several disadvantages -
- It is inconsistent with the general principle of install/uninstall modules as used for other content modules.
An email creation process is executed twice.
When used with PayPal, the hook also has to be maintained in the override hook siteWide folder in case the IPN notification (standard_ipn.php) is received first.
There’s no opportunity to modify the content/title in the EXTRA_ORDER_EMAILS copy if you wanted to.