Hello,
I'm trying to add condition in for each block in marketing emails but it's showing error. I wanted to show the orders related to contact where "Add to email" check on orders is "Yes".
Hello,
I'm trying to add condition in for each block in marketing emails but it's showing error. I wanted to show the orders related to contact where "Add to email" check on orders is "Yes".
Hi Steve Zhao,
Thanks for testing. Yes it's not working the both way I'll raise a ticket with MS on this.
Thanks,
Fariha
Hi Fariha Asmat,
I have tested multiple ways such as:
{{#each MarketingOrders}}
{{#if this.cr287_addtoemail}}
{{/if}}
{{/each}}
or
{{#each MarketingOrders}}
{{#if MarketingOrders.cr287_addtoemail}}
{{/if}}
{{/each}}
However, neither of them could work. It seems that condition could not work in list by now. You would better raise a ticket.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156