Home Forums Event Espresso Premium Promotion Code for specific ticket

Promotion Code for specific ticket

Posted: October 8, 2019 at 8:20 am


October 8, 2019 at 8:20 am

This was covered here:

However, a question arises. Does the Github code referenced to limit a promotion code to specific ticket(s) limit every promotion code to the specific ticket(s)?

I have multiple events (each with multiple tickets) and multiple promotion codes. I need to ensure that the ticket limitation on a promotion code applies only to a single promotion code.


  • Support Staff

October 8, 2019 at 9:22 am


Yes, in the code example the one thing you edit is where you specify the promo code ID, followed by the specific ticket IDs.

So for example if your applicable promotion ID is 2, and the ticket IDs that can accept the promotion are 30 and 35, then line 5 of the example will be changed to:
$applicable_promotion_tickets = array( 2 => array( 30, 35 ) );

The support post ‘Promotion Code for specific 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  Josh 7 months, 3 weeks ago ago

Topic Tags



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