Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Product Links in Receipt

  1. #1
    espey127 is offline Junior Member
    Join Date
    Aug 2009
    Posts
    15

    Default Product Links in Receipt

    We are trying to add a product link into the notification.receipt.xml so that each item within the receipt has a link that would point to that particular item sold.

    Here is what we did:

    Found <xsl:value-of select="aspdnsf:GetMLValue(OrderedProductName)" />

    And Replaced with <a href="{aspdnsf:ProductLink(/root/OrderItems/lineitem/ProductID, SEName, 'false', '')}"><xsl:value-of select="aspdnsf:GetMLValue(OrderedProductName)" /></a>

    The result was that every item had a link but every link was pointing back to the first URL of item sold on the receipt. So, if we sold "Item1", "Item2" and "Item3" to one customer, all 3 links would point back to "Item1"

    Can anyone please provide a solution to our issue?

  2. #2
    espey127 is offline Junior Member
    Join Date
    Aug 2009
    Posts
    15

    Default

    Bumping in hopes someone might respond.

  3. #3
    mmcgeachy is offline Senior Member
    Join Date
    Sep 2008
    Posts
    174

    Default

    Try replacing /root/OrderItems/lineitem/ProductID with just ProductID.

  4. #4
    espey127 is offline Junior Member
    Join Date
    Aug 2009
    Posts
    15

    Default

    That is the trick, thank you for your help.