Home Forums Event Espresso Premium Only 1 ticket per event allowed for specific role

Only 1 ticket per event allowed for specific role

Posted: December 17, 2018 at 11:18 pm


December 17, 2018 at 11:18 pm

Hi there, I have a question.

I have a event with 2 types of ticket:
1) GOLD ticket (only for subscriber)
2) Normal ticket (other roles and guest)

-For the GOLD ticket, i want to set subscriber only can buy 1 ticket per event (and cannot add more ticket on event cart).
-I set maximum quantity for GOLD ticket to 1 but subscriber still can add more ticket at event cart.
-While for normal ticket, they can buy 5 ticket per event.
-Maximum number of tickets allowed per order for this event, i set 5.

Is there any solution for this problem?


  • Support Staff

December 18, 2018 at 7:12 am


May I ask where was the gold ticket’s limit set to 1? Was that within the ticket’s advanced settings?


December 18, 2018 at 7:02 pm

-Ya, Event > Available tickets > Gold Ticket’s > Advanced setting > Maximum Quantity > 1.
-Is it possible to set “Maximum number of tickets allowed per order for this event” for normal ticket’s = 5 and for GOLD ticket’s = 1?


  • Support Staff

December 19, 2018 at 6:57 am

I may not fully understand what you’re asking, so I’ll make an attempt to make sure we’re on the same page.

So for example, if they purchase a GOLD ticket, are they not allowed to purchase any other ticket types for that event?


December 19, 2018 at 3:39 pm

Hi Josh,

Sorry for the miss-understanding, what I meant to say is we have set subscriber role limited to one GOLD ticket per event, which works fine. We do have multiple events cart.

The problem is once they add to cart and return to the event page, they are able to add another one GOLD ticket to the event. This seems to be like a loop hole to the system.

Is there a way around this?


  • Support Staff

December 19, 2018 at 5:50 pm

It’s not really a loophole as the system was not designed to police registration quantities based on roles, it can limit tickets for users that have specific capabilities but it doesn’t check if a user has already purchased the ticket as that’s not the intention of the add-on.

However, pretty much everything within Event Espresso is filterable so you can add your own custom function to do what you need, for example:

That snippet checks if the user currently logged in has purchased the ticket that is loading before, if they have it removes the ticket from view in the ticket selector.

Note that function doesn’t only apply specifically to subscribers but to all users however if you are familiar with PHP you could adapt that to suit your needs.


December 19, 2018 at 9:24 pm

Hi Tony,

What if i want to limit only 1 GOLD ticket allowed add to cart per event?

if i set “Maximum number of tickets allowed per order for this event” to 1, other ticket will be affected.
if i set “maximum quantity” for GOLD ticket’s to 1, user still can add more ticket at event cart page.


  • Support Staff

December 20, 2018 at 4:00 am

if i set “maximum quantity” for GOLD ticket’s to 1, user still can add more ticket at event cart page

That’s a bug and have a ticket to investigate this further, there’s no way to prevent that currently other than removing the qty fields from the event cart for the time being.


December 20, 2018 at 8:34 pm

Is it possible to hide ticket selector but display “view event cart” button if the ticket already on event cart?


  • Support Staff

December 21, 2018 at 11:02 am

Not currently no, the ‘View event cart’ button is part of the ticket selector and we don’t have an option to remove all of the other elements other than the submit at this time.


December 27, 2018 at 2:22 am

Is it possible to display some text (under ticket selector) after user click “add to event cart” button?

example: “This ticket already in event cart.”


  • Support Staff

December 28, 2018 at 3:34 am

Yes its possible but we don’t have any examples of doing so, you’ll need some custom development to add that functionality to EE.


December 31, 2018 at 11:07 pm

Have you provide service to do so? If yes, how can i contact your developer and how much the cost?


  • Support Staff

January 2, 2019 at 10:21 am

Hi there,

We don’t provide customizations at this time, we recommend you reach out to the developers available through codeable, there’s a link in the sidebar of this thread ->

The support post ‘Only 1 ticket per event allowed for specific role’ 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.

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: closed

Updated by  Tony 5 months, 2 weeks ago ago

Topic Tags


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