Posted: November 20, 2024 at 2:57 pm
I want the registrants organization to appear on the confirmation email, invoice, and on the badge. There is no shortcode for that and adding the form field admin label results in an error. Is there a way to pull in that field data and display it where I want it? I found this topic https://eventespresso.com/topic/company-name-in-emails/ but I’m not understanding it, as it seems targeted towards another issue for email administartors. |
|
Hi there,
So is this a custom question you have created within EE and the ‘Question text’ for that question is set to ‘Organization Name’? If so, we have a shortcode to pull in the value for that, you can use. If its set on the Primary Registrant you have:
So in your case, if the above is correct, that would be:
Is that what you are looking for? |
|
Yes – that is exactly what i needed – thank you! |
|
I just tried this and it doesn’t appear to be working. Do i need to add the Question Field as you did or is it supposed to be the admin label? |
|
You use the question text field as above, it needs to match exactly. Does your shortcode question text value match exactly what you have for the question itself? |
|
I’ve done some testing. Other shortcodes work, but it appears that the [PRIMARY_REGISTRANT_ANSWER_*{question_text}] will not work, even if I try other questions in the form. I really need to get this resolved. I think the shortcode is just broken. my form is at https://olc-events.com/olc-online-registration/ can you please take a look. I provided a user for Tony for a previous issue and it is still active. Thanks for you help on this. |
|
Hi there, I don’t think the shortcode is broken as it’s working as expected on multiple test sites. A quick example: Question: https://monosnap.com/file/zv9Yl49Sz6FUCbXVVQgkF4PlKput9Z Shortcode in use: https://monosnap.com/file/YJ0MuKsAiV2h5pJHlGBkb94oM7fUI1 Output: https://monosnap.com/file/EksaIggL7gzuTn9yrCbFk6aKd4ebon The answer I provided for that question is “Org Name Q – Event Espresso”.
We don’t keep credentials but if you reset the password and send the details over using this form: https://eventespresso.com/send-login-details/ I’ll take a look. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Very strange! The shortcode is correct, and works with the same setup locally for me. I know the Pricing add-on hooks into the shortcode generation so you could try loading the ticket template with that Plugin disabled to see if that makes a difference. I can troubleshoot the shortcode parsing within core to confirm its working there but for that I’ll need to add some debug code to core so will need file access (FTP/SFTP/etc), we don’t make code changes with the WP code editor. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account