A tag used for printing text contents of all order email messages.

Description

The message content is fetched from the online store's dictionary. The text to be printed is selected automatically based on the message sent.

You can edit the message content by fetching the text to be edited from the dictionary.

The tag doesn't print any variable contents such as order products or customer information.

However, when used in the order comment template, the tag will always print the latest order comment.

Syntax

{OrderEmailMessage(
    payment_instructions: boolean
)}

Scope

Required scope: tilaus

The tag is used only in order email templates.

Attribuutit

payment_instructions:

With the value true, the tag prints the payment instructions to the order payment method.

Allowed values:true/false. The default value is true.

after/before:

By using the after and before attributes you can define content that is output either after or before the tag's output.

Allowed values:The HTML and Interface markup

E.g.

  • before: '<p>Tämä merkkaus näkyy ennen tagin omaa sisältöä.</p>'
  • after: '<p>Tämä taas näkyy tagin oman sisällön jälkeen.</p>'

If the tag does not produce any content, neither the content of the after and before attributes will be output.

escape:

Adds an escape character before quotation marks in the output.

The attribute makes it easier to process the tag-produced content when using JavaScript.

Allowed values:true/false. The default value is false.

or:

Defines alternative content that is displayed if the tag itself does not produce any content.

Allowed values:The HTML and Interface markup

E.g. or:'Sisältöä ei löytynyt.'