|
Is it possible to include programming logic in the Transactional Email templates?
If the Order Status is changed and “Send Comment to the Customer” is selected then the same email template is used irrespective of what the order status is changed to.
By default this means that the email contains details of where the order was shipped to (even if the order has not been shipped) and by default the email does not contain any comments stored as part of the order status update.
It would be useful therefore if we could include logic (IF statements, LOOPS, etc.) in order to tailor the resulting email according to the order status that is set.
Another option would be to have one email template per order status type but although there is a method to implement new email templates there does not seem to be a method to assign them.
|