Support

Home Forums Event Espresso Premium Possibility of coding a one time use discount

Possibility of coding a one time use discount

Posted: June 24, 2020 at 12:38 pm


ICLE

June 24, 2020 at 12:38 pm

Would it be possible to code a one time use of a discount sitewide based on a role assignment?
This is similar as the request in https://eventespresso.com/topic/individual-user-one-time-promotion-code/
Essentially like adding a role-displayed ticket on every event but done on all displayed events at a dollar amt or percentage. We have over a hundred events so trying to find a solution which covers all events at once, not one at a time.


Tony

  • Support Staff

June 25, 2020 at 4:55 am

Hi there,

With regards to a ‘single-use code’ this is now possible as the promotions system has a ‘Total Number of Uses’ field. That field is the total number of uses a promotion can be used across all scopes, meaning if you set 1 there that promotion code can only be used once in total.

The other part of your question I’m a little confused by.

How would a role assignment based promotion code work? Any user assigned to that role has 1 single-use promotion code they can use?

(If so it has very little to do with the role itself, its just a promotion code in the promotion system as we don’t check for specific roles when using a promotion).

Essentially like adding a role-displayed ticket on every event but done on all displayed events at a dollar amt or percentage. We have over a hundred events so trying to find a solution which covers all events at once, not one at a time.

I guess this is what I find confusing.

In short you don’t want to add a discount ticket on all of your events and want to use a single use promotion?


ICLE

June 25, 2020 at 6:45 am

Here is a description of the use-case:
Registrant has roles of “Subscriber” and a birthday month role of “01_jan”
((Promotion goes out to provide a one time 30% discount for your birthday month))
The registrant only gets to use the discount one time.

How might this be accomplished?


Tony

  • Support Staff

June 26, 2020 at 2:25 am

You would create a promotion code with the ‘Total Number of Uses’ set to one and then send that code to the user.

If you are asking how to automate it, we don’t have any add-ons that will do that for you so you would need something custom. A function to pull in any users with their birthday set to a date within the next 30 days and with a role of ‘subscriber’ for example, then create a unique promotion code for each user and trigger an email.

So to answer your initial question, yes it’s possible but you’ll need something custom to do it.

We do have an example of how to create a promotion code via code which is available HERE.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!