Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

Dynamic Content based on amount of offers


Total Posts:  1
Posted: 15 December 2017 05:36 AM


I have a general question on dynamic content. A client would like to include a list of offers in an email. Based on certain criteria, the email would contain between 1 - 8 offers. They currently can only pass variables of the offers to HTML to populate the list, but would like to suppress any empty blocks of content.

Is there a way to do this using HTML/CSS? Or, would I have to have some intermediate solution to generate the HTML?