Support

Home Forums Event Espresso Premium Promotional Codes (6)

Promotional Codes (6)

Posted: March 22, 2016 at 10:48 am

Viewing 1 reply thread


kcray

March 22, 2016 at 10:48 am

How do I suppress the entry box for promotional codes for a specific event?


Josh

  • Support Staff

March 22, 2016 at 1:58 pm

Hi there,

You can set individual events to not display the promotional code field by adding a custom field. In the example code that follows, there’s a conditional that checks for a “coupon” custom field set to “no”.

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

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

Viewing 1 reply thread

The support post ‘Promotional Codes (6)’ 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