Posted: December 4, 2018 at 2:14 am
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
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.
What I need is to be based on the ticket chosen
ie. We have two tickets currently for an event
If VIP no. of tickets is ‘null’ you get a standard offer link
So only one link appears in the email that is sent out
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:
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.
Many thanks for your update Tony,