- This topic has 5 replies, 2 voices, and was last updated 3 years, 4 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › …compare the value of #_TOTALPRICE
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]
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.
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.
Yes it does. #_TOTALPRICE is localized (euro sign added etc) while using ESC is just the raw price.
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?
Typo 🙂 And corrected now.