Events Made Easy Forums How do I … How do I check for #_IS_PAID on event page?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #57865
    Anonymous
    Inactive

    I have the bad feeling (bad for me) that I should hire you, Franky 😉

    I tried something like this before the #_ADDBOOKINGFORM placeholder in the Single Event Format field of an event:

    [eme_if tag='#_IS_REGISTERED' value='1']You have already registered for that event. [eme_if2 tag='#_IS_PAID' value='0']You still <a href="#_PAYMENT_URL">need to pay</a>.[/eme_if2]<a href="#_CANCEL_URL">Click here</a> in case you want to cancel your reservation.[/eme_if]

    An noticed that the #_IS_PAID tag has no effect even when I am using it directly and separately in eme_if (without 2).

    Is it a bug or a feature?
    Is it supposed to be like this? Not possible to do that check at that point? Could it be a feature request or am I just holding it wrong?

    #57867
    Franky
    Keymaster

    https://www.e-dynamics.be/wordpress/rsvp-mail-formatting/
    ==> #_IS_PAID is only for mails …

    #57869
    Anonymous
    Inactive

    I just noticed that also #_CANCEL_URL is not working at this place either.

    But #_IS_PAID is not only working in mails. I already used it via a template and the shortcode [eme_mybookings] so I just tried further and came up with this in the Single Event Format of an event:
    [eme_if tag='#_IS_REGISTERED' value='1']You have already registered for this event [eme_mybookings template_id=30 template_id_header=31 template_id_footer=31 id=#_EVENTID][/eme_if]
    and the template is doing
    on #_BOOKINGCREATIONDATE at #_BOOKINGCREATIONTIME [eme_if tag='#_IS_PAID' value='1']and paid on #_BOOKINGPAYMENTDATE at #_BOOKINGPAYMENTTIME[/eme_if][eme_if tag='#_IS_PAID' value='0']but still need to pay #_TOTALPRICE. Please go to the <a href="#_PAYMENT_URL">payment page</a> to do so.[/eme_if] <a href="#_CANCEL_URL">Click here</a> in case you want to cancel your reservation.

    The header and footer template is just a  

    So it seems to work. Do you see any problems with this workaround?

    Ah and by the way: where do I find the settings for the pages that open by the two URLs? Where can I set the title of the payment and the cancel page and the text and listing of the cancel page.

    #57871
    Franky
    Keymaster

    Well, what I meant with “only in mails” was the short version, indeed (as the doc says) it works for all things booking-related (so also the eme_bookings shortcode).
    So if you use it like that, it won’t be a problem.
    The payment and cancel url forms are not customizable. Well, in fact the payment form is, but it is in fact the same payment form you get to see after you book for an event (so the customization is in the EME settings, tab Payments).
    Nothing for the cancel form though.

    #57873
    Anonymous
    Inactive

    Okay, understood. Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top