Templates used to display email campaigns and newsletters.

Description

Note: the MyCashflow theme system has undergone a major renewal of email templates.

As a result, the theme's email templates are now treated separately as an email theme, and a separate theme folder is created for them in the file directory.

Find out more about the renewal and see also the email theme instructions.

Email campaign templates are only enabled when the Email Marketing extension is installed.

If you send an email campaign via Campaign Monitor, you cannot use email templates created in your MyCashflow theme. In such case, you should define the campaign's design in Campaign Monitor.

All HTML files located in the /emails/newsletter/ folder can be selected in the campaign creation form in the section Template file:

By default, there is a ready page template /emails/newsletter/default.html. All templates you create in the same folder will be automatically made available for selection when you create an email campaign.

You should define the CSS styles of your e-mail templates in the template file itself, as not all email clients can process the style files included via the <link> tag.

Template properties

Template location
themes/email/THEME/newsletter/default.html
Template URL
Ei osoitetta
Scope
uutiskirje

Default theme implementation

---
subject: '{NewsletterSubject}'
---

{{> newsletter-toolbox }}
{{> header }}

<wrapper class="Primary">
	<spacer size="10"></spacer>
	<container class="Block">
		<h1>{%Hi} {NewsletterName}</h1>
		{NewsletterMessage}
	</container>
	<spacer size="20"></spacer>
</wrapper>

{{> promote-hotpicks }}
{{> promote-newproducts }}
{{> contact }}
{{> footer }}