Skip to main content
5 events
when toggle format what by license comment
Sep 5, 2015 at 18:31 comment added Sander Mangel ok say there isn't an event but you could rewrite Mage_Core_Model_Email_Template_Filter from a custom module setting your vars in the _construct method or rewrite Mage_Core_Model_Email_Template setting them in the send method. It ain't perfect but it'll get the job done
Sep 5, 2015 at 18:28 comment added Sander Mangel @versedi hold one sec, let me check if there is an event you can use to inject them into every email\
Sep 5, 2015 at 18:21 vote accept versedi
Sep 5, 2015 at 18:18 comment added versedi I was thinking about using it in almost all email templates - to be more specific in their subjects. But as I see the more quicker and cleaner approach is to just create dedicated for emails custom variable with text value entered in html – then it's accessible everywhere without any reinventing of the wheel. Only hiccup is that there will be two same custom variables but one with i.e. email prefix.
Sep 5, 2015 at 18:14 history answered Sander Mangel CC BY-SA 3.0