I want to add multiple OR condition in a single city attribute/data.
{%#if Country = "INDIA" and City = "ABC" or "DEF" or "GHI" %}
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
It will be on the following lines
{%#if profile.homeAddress.countryCode = "FR" and ( profile.homeAddress.city = "ABC" or profile.homeAddress.city = "XYZ" ) %}
<a href="https://www.somedomain.com/fr">Consultez notre catalogue</a>
{%else%}
<a href="https://www.somedomain.com/en">Checkout our catalogue</a>
{%/if%}
Reference - https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio...
It will be on the following lines
{%#if profile.homeAddress.countryCode = "FR" and ( profile.homeAddress.city = "ABC" or profile.homeAddress.city = "XYZ" ) %}
<a href="https://www.somedomain.com/fr">Consultez notre catalogue</a>
{%else%}
<a href="https://www.somedomain.com/en">Checkout our catalogue</a>
{%/if%}
Reference - https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio...
Try {%#if Country = "INDIA" and (City = "ABC" or City = "DEF" or City = "GHI") %}
Views
Likes
Replies