I have a case where in the Invoice I should display either the company or the person name depending on the input of the customer. Are there any conditional shortcodes now available? As I see, the last question on this topic was in 2016. Thank you!
Thanks for contacting our support today.
In this case, you can use the [PRIMARY_REGISTRANT_ANSWER_*] shortcode inside the Invoice template under the Event Espresso > Messages > Invoice – This shortcode will display the field’s value added to the Primary Registrant form, you just need to put the question text after the * like [PRIMARY_REGISTRANT_ANSWER_*QUESTION TEXT].
You can decide to remove the First and Last name if you want to leave just the Company name.
Let me know if it works for you!
Viewing 1 reply thread
The support post ‘Conditionals in messages’ 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.