IT
Open2b version 7.9

Emails

This section documents cart recovery email templates, which use Scriggo. For emails that use the classic placeholder format, see the documentation for the Admin Emails section.

The email sent to the customer is built from the template code in the Layout tab. This code can reference the template in the Content tab using the filename body.html.

For example, the Layout tab could contain:

<html>
    <body>
        {{ render "body.html" }}
    </body>
</html>
And the Content tab:
<table>
    {% for item in items %}
    <tr>
        <td>{{ item.Name }}</td>
    </tr>
    {% end for %}
</table>

<a href="{{ checkoutURL }}">Checkout</a>

Templates