This guide is for users who create their own HTML templates to use in Ometria and is written for email developers with knowledge of HTML.
To make an HTML element editable, you need to add the following attributes to it:
- om:editable
- om:id - this must be unique per template, and can be any value, e.g. om:id=“qwerty”.
You can also add a display label by using om:label=“display name”.
Be aware that Ometria only supports the following names for om:editable:
- image
- text
- html
- rich-text
- link
Using anything else will cause an error.
Note: Editable regions can’t be nested (i.e. one element inside another) as this may lead to unexpected behaviour and blocks rendering images in unintended ways.
The following tag types can be made editable:
Product selector
Allow products to be injected into the data and rendered as a loop with Jinja, click here for more details.
Comments
0 comments
Article is closed for comments.