Support

Home Forums Event Espresso Premium Promotion Code Uses

Promotion Code Uses

Posted: October 4, 2021 at 9:03 am

Viewing 1 reply thread


refocuseducation

October 4, 2021 at 9:03 am

Hello! We just set up a new Friends & Family promotion code. It’s set to only be used 10 times. One person used the code, however, the promotion uses say 2. I cannot find any other transactions that used this promotion code, so why does it say 2? Is there any way to filter so I can see where the code was used twice?


Tony

  • Support Staff

October 5, 2021 at 6:42 am

Hi there,

We don’t currently have an option within the Promotions add-on to filter down registrations based on usage, however, it can be done with a snippet and manually adding the promotion ID to the URL.

Add this snippet to the site:

https://gist.github.com/Pebblo/90a6db6f500bd5af3240ba108fb61144

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then, find your promotion in Event Espresso -> Promotions and take note of the ID.

Now go to Event Espresso -> Registrations.

In the address bar should be something like:

/wp-admin/admin.php?page=espresso_registrations

Add &PRO_ID=XX to the end of the URL (where XX is the Promotion ID you noted earlier), like this:

/wp-admin/admin.php?page=espresso_registrations&PRO_ID=XX

With the snippet I gave you above, the registrations should be filtered down to those using the promotion that matches the ID which should show where it has been used.

Viewing 1 reply thread

The support post ‘Promotion Code Uses’ 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