An email template used to send a message to the customer about a public order comment left to the order.

Kuvaus

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.

The order comment message will only be sent if the store admin selects the option Send comment to customer's email.

The comments are printed on the template by using the {OrderComments} tag.

Sivupohjan ominaisuudet

Sivupohjan sijainti
/themes/email/THEME/order/messages.html
Sivupohjan URL
Email notifications do not have a URL address
Asetettu näkyvyys
tilaus

You can also add the template to the folder /themes/EMAIL/order/shipping so that the message is also sent to the email specified in the shipping address.

Toteutus oletusteemassa

---
subject: '{OrderEmailTitle}'
---

{{> header }}

<wrapper class="Primary">
	<spacer size="10"></spacer>
	<container class="Block">
		<h1>{{ subject }}</h1>
		<p>{{> greeting }} {%EmailTextOrderUpdated}</p>
	</container>
	<spacer size="20"></spacer>
</wrapper>

<wrapper class="Primary OrderMessages">
	<spacer size="10"></spacer>
	<container class="Block">
		<div class="TimelineEvents">
			{OrderComments(from: 'admin', limit: 1, helper: 'emails/helpers/order-comment')}
			{OrderComments(start: 1, limit: 4, helper: 'emails/helpers/order-comment')}
			<div class="TimelineBreak">
				<blockquote class="TimelineMessage Dot">
					<spacer size="3"></spacer>
				</blockquote>
				<blockquote class="TimelineMessage Dot">
					<spacer size="3"></spacer>
				</blockquote>
				<blockquote class="TimelineMessage Dot">
					<spacer size="3"></spacer>
				</blockquote>
			</div>
			<blockquote class="TimelineMessage">
				<spacer size="15"></spacer>
			</blockquote>
			<table class="TimelineTitle">
				<tbody>
					<tr>
						<td>
							<h6>
								{%Ordernumber}
								<strong>#{OrderNumber}</strong>,
								{OrderDate}
							</h6>
						</td>
					</tr>
				</tbody>
			</table>
			<blockquote class="TimelineMessage">
				<spacer size="35"></spacer>
			</blockquote>
		</div>
	</container>
</wrapper>

{{> order-contents }}
{{> order-details }}
{{> contact }}
{{> footer }}