Adding new placeholders to Superfecta send to email

This week’s #FridayFun is a result of a conversation with @kierknoby asking how one might go about adding a date/time variable to the body of the email notifications generated by Superfecta. This turned out to be surprisingly easy. The send to email superfecta module is in the file:

/var/www/html/admin/modules/superfecta/sources/source-Send_to_email.module

The source for which lives on GitHub here:

The blocks of code starting on lines 75 and 89 substitute current values where the placeholders appear in the subject and body.

This changed in published to edge now in Superfecta versions 17.0.1.4 and 16.0.30

2 Likes