Support

Home Forums Event Espresso Premium [EE4] : Maximum nbr of Tickets and show ticket only during certain period

[EE4] : Maximum nbr of Tickets and show ticket only during certain period

Posted: December 4, 2016 at 3:37 pm


Andreas

December 4, 2016 at 3:37 pm

Hi,

I am trying to figure out if it is possible to a ticket buyer to buy only a certain amount of tickets for a specific ticket type.

I have three ticket types:
1. IBO the Committed
2. IBO Regular Ticket
3. Guest Ticket

Would it be possible to let a ticket buyer to only buy ie 2 tickets of the “IBO the Committed” and once that is selected it is not possible to choose any of the other two ticket types?

Also, I would like the 1st ticket type “IBO the Committed” to be hidden from the available tickets lists until a certain time. And the hide the ticket again after ie. 2 hours. I want to exclusively give the option for this ticket for attendees who are currently attending an already existing Event.

Thank you very much!

~Andreas


Tony

  • Support Staff

December 5, 2016 at 4:01 pm

Hi Andreas,

Would it be possible to let a ticket buyer to only buy ie 2 tickets of the “IBO the Committed” and once that is selected it is not possible to choose any of the other two ticket types?

You can set a maximum of 2 tickets per transaction which would limit the user to only register on any 2 tickets from any of your available tickets. That means the most tickets any one user can select in a single registration is 2.

It’s the ‘Maximum number of tickets allowed per order for this event’ option here: http://take.ms/vDYz6

Also, I would like the 1st ticket type “IBO the Committed” to be hidden from the available tickets lists until a certain time. And the hide the ticket again after ie. 2 hours.

For that you can set the ‘Goes on sale’ and ‘Sell until’ dates/times on the ticket and then hide them using CSS when the ticket is not available. So add something like this:

.ticket-pending, 
.ticket-sales-expired {
    display: none;
}

We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.

I want to exclusively give the option for this ticket for attendees who are currently attending an already existing Event.

Event Espresso does have a feature to enable ticket sales based on other ticket tickets so this will need to be handled outside of Event Espresso.

  • This reply was modified 7 years, 4 months ago by  Tony.


Andreas

December 5, 2016 at 11:21 pm

Hi Tony,

thank you for your response!

So it is not possible to set maximum for a specific ticket, just a complete order?

Thank you with the suggestion on the CSS!
Will try immediately!

Best regards,
Andreas


Andreas

December 5, 2016 at 11:27 pm

Hi again,

tested but it still showed the “IBO the Committed”. Got the following result (see image).

Available Tickets

And the CSS…

CSS code

What could be wrong?

Best regards,
Andreas


Andreas

December 6, 2016 at 2:44 am

Hi again!

I verified now again and now it looks good!

One problem though. Now all tickets disappeared.
Is it possible to pin-point just one specifik ticket to hide?

Best regards,
Andreas


Tony

  • Support Staff

December 6, 2016 at 4:47 am

The CSS I provided earlier had the same selector twice, I have updated the post above to fix that.

So it is not possible to set maximum for a specific ticket, just a complete order?

You can set a min/max on a specific ticket.

Click the cog icon for the ticket and set the min / max quantity fields, in your case max 2 – http://take.ms/d2oCL

That will only allow a maximum of 2 tickets for that specific ticket type to be purchased, however that does not limit the user to only purchasing that ticket type in a single registration.

One problem though. Now all tickets disappeared.
Is it possible to pin-point just one specifik ticket to hide?

You can use the ticket name within the CSS prefixed with ‘ee-ticket-‘, so in your case it would be:

.ee-ticket-ibo-the-committed.ticket-pending {
    display: none;
}

That will target only the ‘IBO the committed’ ticket whilst it is pending.


Andreas

December 8, 2016 at 11:19 am

Awesome Tony!

Now it works perfect!
I’ll see how it will be on Sunday.

Regarding number of tickets.
So the way to control the number of purchase tickets, if I set maximum number of tickets per order for this event to 2, and then control the number of tickets under advanced settings and Maximum Quantity to 2 respectively 1.

Would this solve it?
Or would the “Maximum Quantity” not let the customer purchase any more in another order?

Thank you in advance!

Best regards,
Andreas


Tony

  • Support Staff

December 8, 2016 at 12:40 pm

The ‘Maximum number of tickets allowed per order for this event’ setting, shown here: http://take.ms/vDYz6

Sets the total amount of tickets a user purchase in one single order.

So in effect they can only select 2 tickets from an combination of tickets available.

The individual settings within each ticket allow you to specify a qty for each individual ticket. Meaning they can only select a max of 2 for that ticket type, if ‘Maximum number of tickets allowed per order for this event’ is higher than this they can also select other tickets if needed.

The support post ‘[EE4] : Maximum nbr of Tickets and show ticket only during certain period’ 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