Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 May 2021 07:21 PM by  Steve L
XSL in a custom action email
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:10
New Member


--
22 Apr 2021 08:44 PM

    I am currently using a custom rule to set a DNN security role, modify paid value and a number of other things. All working well. Part of this rule is to send an additional email to the purchaser with additional pertinent information that varies by product.

    The email portion works as expected, however I'd like to include some sales order information in the email body, for example the product they purchased. 

    I've tried this - it doesn't work: Thank you for registering for the {xsl:value-of select="productName" /}.

    It's only a one product purchase, however I tried the XSL for each used in the email reciept code (sample below) - it doesn't work either.

    Thank you for registering for the {xsl:for-each select="in/salesOrder/salesOrderDetails/salesOrderDetail"}
                  {xsl:value-of select="productName" /}{/xsl:for-each}.

    Is this possible, and if so, what am I doing incorrectly? Thank you! Matt

    0


    Veteran Member


    Posts:2955
    Veteran Member


    --
    04 May 2021 07:21 PM
    This post has been answered in the support email.
    0
    You are not authorized to post a reply.