Skip to end of metadata
Go to start of metadata

Open-time item templates are used in tandem with content blocks to define a layout for recommended content and their related details in Evergage Open-Time Email campaigns. Open-time item templates are the content displayed inside a content block - similar to how a photograph or piece of art is displayed inside a picture frame.

When you use item templates, you won't need to copy template HTML across your campaigns, simplifying the way you promote items using recipes in your open-time email-based digital communications. And you can create more than one template and customize them to match your existing brand guidelines.  


This Article Explains

This article details how to create an open-time email template, how to publish it for use in email campaigns, and provides some additional information related to item templates.

Sections in this Article

Before creating open-time email templates be sure that you have products in your catalog and trained recipes to use in your campaigns.

Create an Open-Time Email Template

  1. Log into the Evergage Platform as an administrator
  2. In the Channels & Campaigns section, select Email > Open Time Item Templates
  3. Click NEW ITEM TEMPLATE
  4. Enter a template Name
  5. Select the Item Type to render inside the Item Template. You can define an Item Template for Category, Product, Badge, Brand, Class, Gender, Class, Keyword, Store, Color, Article, Blog Post, and Promotion
  6. Enter the template Dimensions in pixel Width and Height
  7. Define the HTML template by adding the HTML code to be applied to each item in your catalog. The sample Item Template below renders a product image above the product name with a suggestion to "Shop Now" at the bottom. This template uses the dimensions 260 x 375.

    <div style="padding: 10px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 20px;">
        <div style="width: 260px; height: 375px;">
            <img src="${item.imageUrl}" style="max-width: 100%; max-height: 100%;">
        </div>
        <!-- allocate enough height for 3 lines of text -->
        <div style="margin-top: 15px; height: 70px;">${item.name}</div>
        <div style="font-weight: bold;"><span style="text-decoration: underline;">Shop now</span> ></div>
    </div>
    
    

    When designing the HTML Template for your item template, confirm that images of different dimensions and names of varying lengths render as intended

  8. Click Insert Dynamic + to add dynamic message content fields to the HTML code

  9. See next section for instructions on previewing the template prior to publishing


Preview Template Prior to Publishing

Since item templates used for email campaigns require the generation of individual images for every item in your catalog, this can take a significant amount of time. Using Refresh Email Preview, you can see how the image will render in an email without having to publish the template first.

  1. Edit the item template
  2. Enter an item name or ID
  3. Click REFRESH EMAIL PREVIEW
  4. The new item will render immediately so you can make style adjustments as needed 
  5. Click SAVE

Publish for Email

Open-time item templates are rendered as images for email campaigns. As each product in your catalog changes values, such as the image or price, Evergage will detect the change and regenerate these images. The images are used to make sure all items display in the proper format, regardless of the email client or viewing device.

  1. Ensure you are finished making changes to the template. Once you publish it, you cannot make changes
  2. Click PUBLISH FOR EMAIL
  3. The template status will show In Progress as Evergage generates images for all products in your catalog
  4. When the image generation is complete, your item template will be published and ready to use in email campaigns to promote products in your catalog using a marketing email service 

    NOTE

    Once you publish an Open-time Item Template, it is locked from future changes, however you can clone the template and make changes to the clone prior to publishing

Available Fonts for Email

Open-time item templates work with a finite set of fonts. Due to licensing issues, Evergage cannot add additional or custom fonts. The following list of fonts is currently available for open-time email templates:

TrueType Core Fonts
Andale Mono
Arial
Arial Black 
Comic Sans MS 
Courier New 
Georgia
Impact 
Times New Roman 
Trebuchet 
Verdana
Webdings
ClearType Fonts
Constantia
Corbel
Calibri
Cambria
Candara
Consolas