Home Forums Event Espresso Premium EE4 Promotion – Notification promotion use on ticket

EE4 Promotion – Notification promotion use on ticket

Posted: October 31, 2017 at 9:56 am


October 31, 2017 at 9:56 am


Can I use a shortcode template to notify that a promotion have been use to buy a ticket ?

Thanks a lot,


  • Support Staff

November 1, 2017 at 5:34 am

Hi there,

You can use the [PROMOTIONS_USED] shortcode within the current messages to display which promotion was used during the registration.

However if are looking to send a message specifically for stating that a promotion code has been used that’s not something we have available so would require custom development.


November 2, 2017 at 8:02 am

Its almost perfect.
Do you have the same shortcode without the promotion code himself.

Actually its : Titre of the promotion [promotion code]
We would like : Titre of the promotion

In fact we are creating a code for each user, and for the security we don’t want to share it by email to the admin of the event.



  • Support Staff

November 2, 2017 at 10:11 am

Hi there,

No, we don’t currently have another shortcode for the promotions add-on.

However, before the promotions add-on added its own shortcode from within the add-on itself, I wrote a custom function to add a [PROMO_CODES_USED] to EE here:

Then remove the code used to generate that output:

And just have $promo_codes[] = $promo_row[ 'Price.PRC_name' ]; within the foreach loop.

Then use that shortcode in place of the default one.

I’d recommend changing the shortcode from that function to something else, for example [PROMOTIONS_USED_CUSTOM] (change lines 12 and 21) so that its obviousl which code to use.

The support post ‘EE4 Promotion – Notification promotion use on ticket’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 years, 1 month ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!