Support

Home Forums Event Espresso Premium Promo Code for specific ticket

Promo Code for specific ticket

Posted: June 1, 2019 at 12:08 pm


MorganEvents

June 1, 2019 at 12:08 pm

Hello, I would like to apply promo codes to specific tickets within an event. Can you please help? This could be a deal breaker with Event Espresso. If we can not offer this to our customers/attendees, then we will have to switch to a different event platform.
Thank you.


MorganEvents

June 1, 2019 at 12:12 pm

Having a hidden ticket that is accessed by a password will also solve the problem. Thanks.


Josh

  • Support Staff

June 3, 2019 at 10:04 am

Hi,

You could do either of the above if you can add some custom PHP code to your site.

To change a promo code so it’s only applicable for a specific ticket, you can add/modify this code snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-promotions/bc_ee_ticket_scope_promotions.php

To have a hidden ticket that’s accessed on a separate, password protected page, you can add/modify this code snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/jf_ee_password_protect_ticket.php

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.


MorganEvents

June 3, 2019 at 11:38 am

Thank you for the solutions. I have forwarded the code snippets to our developer. Will let you know the results.

The support post ‘Promo 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.

Event Espresso