Email

Tags that are available only in email themes.


block

Renders a block from the blocks folder of the theme.

To statically include a block, use the following syntax:

 {% block 'name' id:'custom-id' color:'#ff0000' %}

container

Wraps a block container. To create a default container just use the plain container tag without the name.

 {% container %}

You can also create block containers dynamically as names can be defined as variables:

 {% for i in (1..10) %}
   {% assign name = 'my-block-container-' | append: i %}
   {% container name %}
 {% endfor %}

plaintext

Captures plain text content for the template.

 {% plaintext %}
   Hi customer,

   This is the plain text content for your email.
 {% endplaintext %}

section

Renders a section from the sections folder of the theme.

Input

 {% section 'my-section' %}

Output

 <mj-section id="finqu-section-my-section">
     <!-- section content here -->
 </mj-section>