I need to get a purchase order number onto the invoice template.
Is it possible to use ACF or the registration form to send this data to the invoice template? I looked through the shortcode but couldn’t find one for custom fields.
The invoice template will use the [EVENT_META_*] shortcode to display the value of custom fields. After the “*”, you add the exact name for your custom field, if there is a value set for that custom field within the event then it will be output in place of this shortcode.
Thaks for the quick response. I did try the [EVENT_META_*] shortcode, what I need is to pull a custom field for purchase order number on the registration form through to the invoice.
So that’s a custom value entered by the registrant?
As in a custom question on the registration would work, you just need the value they input to be output on the Invoice?
If so you can use the [PRIMARY_REGISTRANT_ANSWER_*] shortcode on the Invoice template. The format is [PRIMARY_REGISTRANT_ANSWER_*{question text}], so if you create a custom question that had the question test set to ‘Purchase Order Number’ your shortcode would be [PRIMARY_REGISTRANT_ANSWER_*Purchase Order Number].
Thanks for your response, that solution worked nicely. I’ll keep that in mind when I need to pull more fields through.
Many thanks.
Viewing 4 reply threads
The support post ‘Purchase Order Number on Invoice Template’ 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.