Skip to main content
Skip table of contents

Subject in email templates for customer receipts

In the past

Previously, there was no subject line in the email templates for customer receipts.
The subject line was constructed according to a fixed pattern:

[Document type] [Document number] [Heading] [Order number] [Project number]

The last three were only added if they were also present.

This is the case, for example, if the document has neither a heading nor an order number or project number.

[Offer] [12345]

Or something like this with a headline:

[Offer] [12345] - [Headline]

Or something like this with a heading, order number, and project number:

[Offer] [12345] - [Headline] - Order number [B123] - Project number [P123]

All underlined text was inserted automatically.

Problem

With the new email templates, you can define the subject line yourself and even assemble it using variables.

However, this behavior can be explained by the automatically inserted extra text with variables not adjust!

One might try it like this:

Offer @@Number@@ - @@Heading@@ - Order number @@Order number@@ - Project number @@Project number@@

However, if there is no heading, order number, or project number, you would receive the following subject line:

Offer 12345 - - Order number - Project number

That doesn't look very nice, and it's not the same as it used to be.

So how can we give users the flexibility to construct the subject line themselves using variables, while also maintaining the dynamic behavior of earlier versions?

Solution

You can now define the subject yourself if you wish—using all the variables available.

However, if you want to keep the previous behavior, then you just need to leave the subject line in the email template completely blank!

The c-entron.NET recognizes that the subject line is empty and automatically reconstructs it according to the previous format!

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.