Events Made Easy › Forums › How do I … › How do I check for #_IS_PAID on event page?
- This topic has 4 replies, 2 voices, and was last updated 6 years, 7 months ago by Anonymous.
-
AuthorPosts
-
Wed 11 Apr 2018 at 19:34 #57865AnonymousInactive
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?Wed 11 Apr 2018 at 20:13 #57867FrankyKeymasterhttps://www.e-dynamics.be/wordpress/rsvp-mail-formatting/
==> #_IS_PAID is only for mails …Wed 11 Apr 2018 at 22:45 #57869AnonymousInactiveI 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.
Wed 11 Apr 2018 at 23:31 #57871FrankyKeymasterWell, 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.Thu 12 Apr 2018 at 21:14 #57873AnonymousInactiveOkay, understood. Thank you.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.