Support

Home Forums Event Espresso Premium Including Promo Code In Invoice

Including Promo Code In Invoice

Posted: January 5, 2015 at 6:21 pm

Viewing 1 reply thread


Nat Davis

January 5, 2015 at 6:21 pm

Hey there,

Since it’s possible to show the discount from the promo code in the invoice PDF, is it also possible to include the actual code used as well?

This is on an Event Espresso – 3.1.36.6.P installation with the social coupons and members addons running on WordPress 4.0.1.

Thanks. 🙂


Dean

January 6, 2015 at 6:11 am

Hi,

Yes it is possible, though editing the invoice template in EE3 is not very easy.

If you are OK with PHP etc, then you can simply add the following to the $attendees as $attendee foreach (starts line 37):

$ccode = $attendee->coupon_code;

Then elsewhere in the template you can use the $ccode variable to output the coupon name.

If that is all Greek to you then you will need a developer to assist you with modifying the table.

https://eventespresso.com/wiki/put-custom-templates/#paymentgateways

Viewing 1 reply thread

The support post ‘Including Promo Code In Invoice’ 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