Skip to main content
Solved

Hiding Template Blocks Based on Dynamic Variables

  • January 28, 2021
  • 2 replies
  • 902 views

Forum|alt.badge.img+2

I’m trying to set a show/hide condition for template block but whatever I’m trying to do is not working.

I’m doing an Order Confirmation email which needs to include the discount line for those who took the discount while hide that line completely for those who didn’t have any discounts.

 

I did an event lookup and after following one of the articles I decided to go with a > 1 argument (all discounts are more than 1 anyway). Unfortunately this is just hiding the box even when the discount has been applied.

Any help please?

Best answer by stevecachia

Managed to solve it myself. If anyone has the same issue the solution is to the following:

event|lookup:'IsDiscounted' = 1

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 3 replies
  • Answer
  • January 28, 2021

Managed to solve it myself. If anyone has the same issue the solution is to the following:

event|lookup:'IsDiscounted' = 1


AndriyBoychuk
Partner - Platinum
Forum|alt.badge.img+7
  • Partner - Platinum
  • 30 replies
  • January 28, 2021

Reply