Support

Home Forums Event Espresso Premium Ticket selector for multiple events

Ticket selector for multiple events

Posted: October 29, 2015 at 2:46 am


Jakob Naredi

October 29, 2015 at 2:46 am

Is there any way to get a ticket selector for multiple events? Example all event in one category.

I have tried [ESPRESSO_TICKET_SELECTOR category_slug=”your_event_category_slug”] but the combination between events and ticket selector doesn’t seem to work 🙁


Tony

  • Support Staff

October 29, 2015 at 9:46 am

Hi Jakob,

The ticket selector is shown per event so there is no category_slug parameter for the [ESPRESSO_TICKET_SELECTOR] shortcode, only event_id which allows you to specify a specific event to pull the ticket selector for.

Currently you can not display multiple different events tickets within a single ticket selector.

Can you explain further what it is your trying to achieve please? There may be another way to do what you need.


Jakob Naredi

October 30, 2015 at 1:47 am

We have a lot of events with the same info coming and going. In a normal WP page I’m putting all the information and then all the tickets will be presented below. If I don’t want to update the page manually every time I’m adding an event it would be great to read all of them by once. Also this would result in only one “buy”-button.


Lorenzo Orlando Caum

  • Support Staff

October 30, 2015 at 5:40 am

Hi Jakob, using the multiple event registration add-on along with the following shortcode should work:

[ESPRESSO_TICKET_SELECTOR category_slug=”your_event_category_slug”]

A registrant/attendee should be allowed to register for multiple events from that page.

Is that not working?


Lorenzo


Jakob Naredi

November 2, 2015 at 5:45 am

Hi,

The code [ESPRESSO_EVENTS category_slug=”seglingar”] works fine and I got a list with events. But the [ESPRESSO_TICKET_SELECTOR category_slug=”seglingar”] only shows the “View details” button.

Thanks,
Jakob


Tony

  • Support Staff

November 2, 2015 at 6:02 am

As mentioned above [ESPRESSO_TICKET_SELECTOR category_slug=”seglingar”] will not work.

ESPRESSO_TICKET_SELECTOR accepts a single parameter, event_id. That is the only parameter that will work with the shortcode.

Here is what happens when you us use [ESPRESSO_TICKET_SELECTOR category_slug=”seglingar”] – http://take.ms/jVl24

Notice: Undefined variable: event_id

The ticket selector doesn’t know what to do because it doesn’t know what event’s tickets it should be displaying, because it needs an event id.

The ticket select is a shortcode to be used for a specific event, not multiple events. So the only way to display multiple events and allow tickets to be purchased for those events is using [ESPRESSO_EVENTS category_slug=”seglingar”]

The support post ‘Ticket selector for multiple events’ 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