Personalization in Subject Line
Hello all,
I'm kind of stuck on this one, I need to do a personalization code in the Subject Line of an email. The problem is that the SL already has a personalziation and I cannot find the proper way to do it.
This is the personalization:
<% if(recipient.firstName!=""){%><%= recipient.firstName %>, welcome to the club at <%= recipient.child.indicators.babyMonth %> months old!<% }else{ %>–Welcome to the club at <%= recipient.child.indicators.babyMonth %> months old!<% } %>
The issue is that in here, I will need to include another IF statement:
- if the babyMonth is less than 0: Welcome to the club at <%= recipient.child.indicators.babyWeek %> weeks old!
- if the babyMonth is greater than 0: the original code.
How should I add this into the block?
Thank you very much!