Removing specific text from order notes

Comments

1 comment

  • Avatar
    Dan Pankau

    You could try this:

    <!-- Etsy Gift Message -->
    
    <xsl:for-each select="$order/Note[Visibility='Public']">
        <xsl:if test="Text[contains(text(),'Gift Message:')]">
            <xsl:value-of select="substring-after(Text, 'Gift Message:')" />
        </xsl:if>
    </xsl:for-each>
    0
    Comment actions Permalink

Please sign in to leave a comment.