Support

Home Forums Event Espresso Premium Add the “Organization Name” from the form to the ticket and message.

Add the “Organization Name” from the form to the ticket and message.

Posted: November 20, 2024 at 2:57 pm

Viewing 10 reply threads


WalkerDesigner

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.


Tony

  • Support Staff

November 21, 2024 at 5:57 am

Hi there,

I want the registrants organization to appear on the confirmation email, invoice, and on the badge.

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:

[PRIMARY_REGISTRANT_ANSWER_*{question_text}]

So in your case, if the above is correct, that would be:

[PRIMARY_REGISTRANT_ANSWER_*Organization Name]

Is that what you are looking for?


WalkerDesigner

November 21, 2024 at 1:20 pm

Yes – that is exactly what i needed – thank you!


WalkerDesigner

November 21, 2024 at 2:19 pm

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?


Tony

  • Support Staff

November 22, 2024 at 2:21 am

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?


WalkerDesigner

November 22, 2024 at 3:05 pm

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.


Tony

  • Support Staff

November 25, 2024 at 5:07 am

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”.

I provided a user for Tony for a previous issue and it is still active.

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.


WalkerDesigner

November 25, 2024 at 5:26 pm

This reply has been marked as private.


Tony

  • Support Staff

November 26, 2024 at 2:42 am

This reply has been marked as private.


WalkerDesigner

November 26, 2024 at 8:51 am

This reply has been marked as private.


Tony

  • Support Staff

November 29, 2024 at 4:11 am

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.

Viewing 10 reply threads

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso