Support

Home Forums Event Espresso Premium Specific info on ticket email

Specific info on ticket email

Posted: December 4, 2018 at 2:14 am

Viewing 4 reply threads


scwirrel

December 4, 2018 at 2:14 am

Hi

I want to add specific email based on which ticket you purchase to the purchasers email

ie I have two tickets available. If a user purchases TICKET ONE they receive some content and a link to an offer in their email

If a user purchases the other ticket… they also get a link but to a different offer

I’ve searched for info but maybe my terminology for this is wrong?

Thanks in advance


Tony

  • Support Staff

December 4, 2018 at 6:58 am

Hi there,

Currently, this is not possible without custom development as you select the ticket/ticket notice based on the event itself, rather than tickets within an event.

You could create a custom message shortcode that parses to an additional field within the ticket editor that includes the ‘offer’ you mentioned above, but there is nothing within EE core that will do this for you currently.

  • This reply was modified 5 years, 11 months ago by Tony. Reason: Missing not!


scwirrel

December 5, 2018 at 10:33 am

Hi Tony.
Thanks for you swift reply

What I need is to be based on the ticket chosen

ie. We have two tickets currently for an event
VIP & Standard

If VIP no. of tickets is ‘null’ you get a standard offer link
If VIP no. of tickets is ‘not null’ you get a better offer link

So only one link appears in the email that is sent out


Tony

  • Support Staff

December 6, 2018 at 3:28 am

Unfortunately, there was a typo in my reply above, I had:

Currently, this is possible without custom development

What it should have been was:

Currently, this is not possible without custom development

My apologies for the mix up, I’ve updated the reply above.

I understand what you are trying to do, but we don’t have anything within core that will do it for you, so you would need a custom shortcode. If you are comfotable with PHP I have an example of adding shortcodes to the mesages system here:

https://gist.github.com/Pebblo/e87cc8e30c4848dcdfe2

Which can be used as a base to work from.

Then within your shortcode you can check the ticket the message is for and decide which link to output, for example if you include ‘VIP’ in the name of the ticket you could search for that and if present output the ‘better’ link, if not the normal one.


scwirrel

December 7, 2018 at 5:38 am

Many thanks for your update Tony,
I’ll look into this now

Viewing 4 reply threads

The support post ‘Specific info on ticket email’ 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.

Event Espresso