Closed zero-one-devteam closed 4 years ago
Had the same issue and just sent out a bad Campaign. It seems like the TWIG_BLOCK is only evaluated once per campaign mailing, did you test if it work when using a Code Snippet? https://github.com/Logicify/mautic-advanced-templates-bundle#example-3-reusable-code-snippets It works nicely in form mails..
hmm, this is a deal-breaker, no? did anyone achieve campaign emailing with this plugin bundle?
Hi guys, can you test https://github.com/Logicify/mautic-advanced-templates-bundle/pull/10 ?
This PR has been merged into master and included into release 1.1. Thanks, @kuzmany
It looks the twig expression result value from the email template for the first contact in campaign is repeated for every contact in a campaign (e.g. lastname - each contact gets the same lastname)
To reproduce:
Hi {{lead.firstname}},
{% END_TWIG_BLOCK %}
-> each contact gets an email with the lastnameof the first contact