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.
André Arnaud de Cal...
291,969
Super User 2025 Season 1
Martin Dráb
230,842
Most Valuable Professional
nmaenpaa
101,156