• Hi!
    Im running a speeddating company where we have separate ticket types for men and women. I would like to show different colors for the text men and women (Green > 5 tickets left, yellow < 6 tickets left, Red = 0 tickets left) in the list display of the events. So users can see beforehand if its worth clicking into the event or if its better they choose another one.

    Our site is http://www.speedd8.se/

    The first step for this would be to get available spaces based on ticket type. From the placeholders i can only get available spaces for the whole event. Can anyone help me with some code for getting the available spaces per ticket type?

    The second step would be how i would produce the different colors, if i understand it correctly its not possible to create conditional statements in html so how would i do this in php?

    I really appreciate any help i can get on this matter.

    http://wordpress.org/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I think the easiest way to do the ticket colors without a lot of coding would be to use the category colors function. You could put each ticket type in a different category and use the #_CATEGORYCOLOR placeholder to show the color in your listings.

    For the question about getting the available tickets, which booking mode are you using?

    We are trying to show the number of available tickets for each ticket type as well. Could you please describe your solution if you found a way to get this information?

    Any solution to this problem – a very real requirement for one event with different types of tickets within the event e.g. pensioners, adult, children.
    EM version 5.5.3.1
    Using Pro version 2.3.8.1

    Anybody got a solution please?

    i’m also trying to do same thing please give us an idea .
    We required the available spaces according to ticket type.

    If Ticket of male then shows male available spaces
    and
    If Ticket of female then shows female available spaces

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Get available spaces based on ticket type’ is closed to new replies.