Support

Home Forums Event Espresso Premium Adding Promo Codes and Social Coupons to Admin Registration Confirmation Email

Adding Promo Codes and Social Coupons to Admin Registration Confirmation Email

Posted: March 10, 2014 at 5:57 pm

Viewing 1 reply thread


Greg Davis

March 10, 2014 at 5:57 pm

I see from this earlier post that it is possible to use the custom files add-on to help create custom functions to override the standard EE functions. My client would like to add information about promo codes or social coupons to the email. In other words, if the customer used a promo or coupon code, we’d like to see that in the confirmation email.

Would this be possible? Are there variables that I could add to the standard email function and put into the custom functions file to achieve this?

Thanks,
Greg


Dean

March 11, 2014 at 4:21 am

Hi,

In theory it’s possible. You would need to pull the attendee data from the database and inject the coupon code info into the email.

There isn’t a way to filter or change the email tags so you would have to add the information at a different point.

There are also no useful hooks or filters for this, so you would have to rely on a pluggable function.

Looking at it (though I have NOT tested anything) you could try the event_espresso_send_email function.

If you do a search for function_exists in the event-espresso/includes/functions/email.php you will find all the available pluggable functions.

Viewing 1 reply thread

The support post ‘Adding Promo Codes and Social Coupons to Admin Registration Confirmation Email’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso