Version detail: Sitecore 9.0.2 XP0
Deployment model: OnPremises
Scenario: We are sending an automatic '
HTML' campaign to users listing their last 4 orders.
In case a user has less than 4 orders, we want to hide the empty HTML blocks.
So, we used tokens to set the display attribute to none in case of empty blocks. But this display property was not working as expected.
What we checked: We added a block with the
display property set to none. In the design view, this component was not visible. But it was back when we got it in the mailbox, as test mail as well as automatic mail.
Any idea what I should look further?