Support

Home Forums Event Espresso Premium Including Promo Code In Invoice

Including Promo Code In Invoice

Posted: January 5, 2015 at 6:21 pm


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.

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

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Dean 5 years, 3 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!