How can I add cancellation text to the Interested Letter?
- Product: Primo
- Product Version: Primo VE December 2025
- Relevant for Installation Type: Primo VE
Question
How can I add cancellation text to the Interested Letter?
Answer
To display custom text in the Interested Letter when an order is cancelled, you can use the following XSL logic:
<xsl:choose>
<xsl:when test="contains(notification_data/message/text(), 'Cancelled')">
<!-- Add the cancellation message here (use a <p> tag) -->
</xsl:when>
<xsl:otherwise>
@@You_were_specify@@
<!-- Add the standard message here (use a <p> tag) -->
</xsl:otherwise>
</xsl:choose>
The xsl:when condition detects cancellation messages and displays the cancellation text.
The xsl:otherwise section displays the default text when no cancellation is detected.
- Article last edited: 30-Dec-2025

