Newsletter Content templates
Newsletter Content is dynamically generated images containing products that you can include in your newsletters or other emails. The contents of the images is rendered in HTML which is then turned into an image. Each image contains one product and an email will typically contain multiple images to present a list of personalized products to the recipient.
Remember that this HTML will not be rendered by the end users browser or email client. It will instead be rendered into an image by Hello Retail. The size of the image is fixed and set in the configuration for the email campaign design. Using absolute positioning can be more useful here than it typically is in a browser because the size will always be the same.
When implementing the liquid template used to render the products you have the following variables available in the liquid context:
Variable | Description |
---|---|
product | The product object. See description in the introduction |
width | Width of the canvas that the image will be drawn on |
height | Height of the canvas the image will be drawn on. |