Open Time Email – Item Template Coding Tips

  • Set the width and height of an OTE item template to x2 resolution so the image appears sharp on mobile devices
  • Product ids must be strings. If an id is a URL, this can cause problems with Einstein image generation
  • When an OTE item template is published, it can’t be edited. To save time testing, generate a few sample images within the item template editor. Upload these images to Content Builder, and manually insert them into an email to test the rendering
  • Generate images with differences in text length to see how they appear side by side in a two column layout, for example
  • To remove .00 from Product item prices, add this: $currency.formatNumber(${item.price},0)