• Hello,

    I have noticed that the message is the same for the closed reservation even a event is passed or in the futur.
    Where could I put a different message which could tell the visitor that the reservation are closed because the event is passed ?

    Thanks
    Carosch

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    You could try using conditional placeholders like: {is_past}The event have past!{/is_past} to display a message that is passed.

    More placeholders can be found here. https://wp-events-plugin.com/documentation/conditional-placeholders/

    Thread Starter carosch

    (@carosch)

    Hello,
    in Settings -> Bookin -> Messages for returns -> Messages and texts for booking forms, I put that into the ‘Booking are closed’ message filed:
    {is_past}Les réservations en ligne sont closes. Cet événement est terminé.{/is_past}{is_future}Les réservations en ligne sont closes. Nous vous invitons à nous contacter par téléphone pour conna?tre la disponibilité sur cet événement.{/is_future}
    but that does not work.
    All the text has disappeared
    https://www.carolinescherb.com/clients/verdun/event/les-vibrants

    Carosch

    Hello,

    Have you tried adding it under. Events > Settings > Formatting > Events > Single event page format

    I also can’t visit the link that you gave because it requires a username and password.

    Thread Starter carosch

    (@carosch)

    Yes, I tried but that does nothing but space.
    However , I can’t put that in this place, because, if the reservation is open, the message is not exact

    The field you are entering the text is already a conditional placeholder by itself. It checks for {bookings_open}, so double conditions are ignored.

    To display different texts based on the event status you need to put the code in the Events > Settings > Formatting > Single event page format.

    To use the css of Events Manager, so the output looks the same as if it was displaying the message of Events > Bookings > Booking form texts/messages, use this code in Events > Settings > Formatting > Single event page format:

    {is_past}<div class=”em-booking-message-error em-booking-message”>Les réservations en ligne sont closes. Cet événement est terminé.</div>{/is_past}{is_future}<div class=”em-booking-message-success em-booking-message”>Les réservations en ligne sont closes. Nous vous invitons à nous contacter par téléphone pour conna?tre la disponibilité sur cet événement.</div>{/is_future}

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘reservation message when the event is passed’ is closed to new replies.