Events Made Easy Forums How do I … …compare the value of #_TOTALPRICE

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #62856
    Anonymous
    Inactive

    I would like to check if the #_TOTALPRICE is zero respective 0,00 €. What do I have to put as value in the condition?
    [eme_if tag='#ESC_TOTALPRICE' value='<strong>?</strong>']The total price is 0,00 Euro[/eme_if]

    #62862
    Franky
    Keymaster

    Just testing for “0” or “0.00” should work. If unsure, just print #ESC_TOTALPRICE somewhere in the booking thank-you message and you’ll see the value.

    #62863
    Anonymous
    Inactive

    Thank you very much for already responding to all my new threads.

    The ESC makes a different in that case? Because I already use #_TOTALPRICE in the Contact Person Payment Notification Email Body and there it turns out into something with currency like 0,00 €. The new idea is to check for that and so I was wondering.

    #62864
    Franky
    Keymaster

    Yes it does. #_TOTALPRICE is localized (euro sign added etc) while using ESC is just the raw price.

    #62872
    Anonymous
    Inactive

    Thank you for making it clear. But a new question emerged. You wrote #_ESC_TOTALPRICE, with an extra underscore. Is it a typo or the same as or different to #ESC_TOTALPRICE?

    #62873
    Franky
    Keymaster

    Typo 🙂 And corrected now.

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