Posted: September 25, 2017 at 2:45 am
|
Good morning. |
|
I see I made a lot of mistakes in my post. So once again: The generated invoice doesn’t show the postal code field. How can we add this field, and maybe other address fields as well, to the invoice? |
Hi there, If you go to Event Espresso -> Messages -> Default Message templates -> Invoice You can edit the invoice template there. In the main content section you can edit the address shortcodes, if you click the icon you can see all of the shortcodes available in that section – http://take.ms/gx1AX |
|
|
Thanks for your quick answer! [PRIMARY_REGISTRANT_ANSWER_* Department or Contact Person] The custom question’s admin label is, of course, “Department or Contact Person”. |
Admin label or ‘Question Text’? You need the exact value from Question Text, not Admin label. |
|
|
Thank you for your quick answer. Tried to add quotes around the Question Text, like: In the Receipt, my Custom Questions DO appear “automatically”, I didn’t change anything there. Any ideas why the custom fields do not appear in the invoice? What is wrong? Have a good day! |
Remove the quotes from the shortcode, those will prevent the shortcode from working. The format of the shortcode is The question_text used must match the question exactly, adding quotes around the question text means it won’t match (unless you also use quotes like that in the text, which you currently do not). Based on your registration form your shortcodes would be:
You don’t have more than one question with the same question text in EE do you?
Do you mean this section? – http://take.ms/4DVNV That’s looping over all questions assigned to a registration there, the invoice is pulling answers for specific questions that you provide the question text for. |
|
|
Vielen Dank für Ihre Hilfe, ich hatte ein Leerzeichen zwischen [PRIMARY_REGISTRANT_ANSWER_* und Company / Organization]. Jetzt klappt’s. |
You’re most welcome, I’m glad it’s working for you. |
|
The support post ‘Add more fields to invoice address’ 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.