Home Forums Event Espresso Premium Lots and lots of discount codes

Lots and lots of discount codes

Posted: August 7, 2013 at 2:40 pm

Alex Stott

August 7, 2013 at 2:40 pm

For my site, I have about 800 members of the organisation (not members of the site) all with their own sequential membership IDs.

I could add 800 discount codes to allow them to get their member’s discount, but I was wondering if anyone could suggest a better way?

Jonathan Wilson

August 7, 2013 at 3:16 pm

Hi Alex,

Can you clarify what you mean by 800 members of the organization? How are they members if they are not members of the site?

If they aren’t currently members of the site, you may want to have each of them register, then they will get the discount when they register for the events.

Alex Stott

August 8, 2013 at 1:10 am

Sorry, I wasn’t very clear there. These are people who have bought a paper membership over the counter, so there are no digital records of them.

I was wondering if I could add their membership numbers (eg. 80001, 80002 etc.) as discount codes, so that a member can type in their membership number at checkout to get a discount. The only reason I’m not already doing this, is that their are 800 of them, so I’m wondering if I can bulk-add discount codes.

tldr; Can I add multiple discount codes at once?

Thanks for your help!


August 8, 2013 at 1:24 am

Hi Alex,

We don’t have an import tool for standard promotional codes, only Groupon style codes (100% discount codes) so you would have to generate an SQL query and add them directly to the database.

Alternatively you could import the member details as users (via this plugin for example though I’m sure there other alternative plugins) and use the WP User Integration system to allow logged in users (members) a different price for events.

In my opinion, the secondary option is probably better, as 800+ promotional codes is going to get unmanageable very quickly, for example if you needed to change the discount price, that would be over 800 codes to change, versus X amount of events.

Event Espresso doesnt handle membership registration or login, so you may need a thirdparty plugin such as S2Member if the default WordPress user system isnt enough for you.

Alex Stott

August 14, 2013 at 3:09 am

Just a thought, would it be possible to add a wildcard discount, so that for example, any number that begins with 8000 gets a 10% discount? That would be the simplest, but I don’t know if I would need to modify core files or not.


August 14, 2013 at 4:05 am

Hi Alex,

There isn’t any wildcard discounts in the plugin.

The support post ‘Lots and lots of discount codes’ 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