Support

Home Forums Event Espresso Premium Suggestions for Promotions and Discount Codes plugin

Suggestions for Promotions and Discount Codes plugin

Posted: August 22, 2019 at 2:15 am


Jakob Naredi

August 22, 2019 at 2:15 am

Hi!

It would be very appreciated if one or both of the following functions were added:

1. If a discount code is used, it would be nice if was marked in the transactions list in some way. It could be the same way it’s says it’s paid with Stripe in example. https://prnt.sc/ovyp6t Maybe also if it was possible filter to only show transactions with a discount code.

2. In the promotions list it would be great with a link to all transactions were the specific code is used. https://prnt.sc/ovytw7

This would make our job much more efficiency.

Thanks and best regards,
Jakob


Josh

  • Support Staff

August 23, 2019 at 12:36 pm

Hi Jakob,

Thanks for taking the time to leave this valuable feedback.

One thing you could do, which would accomplish something similar to “2”, is make use of a filter hook to add the capability to search for transactions that used a specific promo code.

Here’s the code:

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

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

Then, the next time you want to find all transactions where a specific code is used, you go to the Event Espresso > Transactions page, then type in either the name or code of the promotion into the Search field. The search results will then return all of the transactions that applied that code at checkout.

The support post ‘Suggestions for Promotions and Discount Codes plugin’ 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