Support

Home Forums Event Espresso Premium Multiple ticket order but only 1 choice

Multiple ticket order but only 1 choice

Posted: September 24, 2020 at 4:17 am

Viewing 4 reply threads


Jonathan Bavay

September 24, 2020 at 4:17 am

Hi,

I’ve been through the support site but can’t find a correct answer to my question so here it is (and if it has been asked before, i’m sorry !)

I’m looking for how to having 3 ticket possibilities, that can be ordered by min 2 and max 5 ticket by order, but, the client can only take 1 type of ticket.

So here is an example :

– Choice 1
– Choice 2
– Choice 3

They can order 3 ticket for the choice 3 but they can’t order the 2 last on the choice 1 or choice 2. (bc we must block the choice to 1 type of ticket per order)

I tried in differents ways; by putting 3 differents DateTimes with only 1 ticket linked to it, or only 1 DateTime with the 3 tickets but the order can always be completed by 2 different type of ticket if the maximum doesn’t exceed 5 tickets.

(Sorry for the rough English guys ^^)

Thank you in advance for the answer πŸ™‚


Tony

  • Support Staff

September 24, 2020 at 5:44 am

Hi there,

Currently, we don’t have a way to do this within Event Espresso so you’ll need some custom development.

One option is to use jQuery to disable the ticket selector qty’s when any single ticket type has it’s qty set/canged.

Are you currently working with a developer familiar with JavaScript at all?


Jonathan Bavay

September 24, 2020 at 7:45 am

Loud and clear !

We actually have some JS dev that can certainly make this happend.
(We were just asking if there was another soluce with all your options πŸ™‚ )

Big Thanks for your support and your quick answer !


Tony

  • Support Staff

September 24, 2020 at 8:57 am

You’re most welcome πŸ™‚

We would like to have some additional options to control tickets etc in the future but we are currently working on various other areas of the plugin so nothing in the pipeline just yet.


Jonathan Bavay

September 30, 2020 at 2:11 am

For ppl who are looking for a rough solution in JS here’s what we did :

jQuery(“.ticket-selector-tbl-qty-slct”).on(‘change’, function() {
if(this.value > 0){
jQuery(“.ticket-selector-tbl-qty-slct:not(#”+this.id+”)”).prop(“disabled”, true);
}
else{
jQuery(“.ticket-selector-tbl-qty-slct”).prop(“disabled”, false);
}
});

Viewing 4 reply threads

The support post ‘Multiple ticket order but only 1 choice’ 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