Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Craig Cronin 304 posts 503 karma points
    Sep 29, 2012 @ 23:58
    Craig Cronin
    0

    Order Number in Order Confirmation Screen

    Hi All,

    I'm trying to get the order number in the order confirmation screen.  In principle this looks straight forward.

    I can see $result holds a copy of purchaseOrder with the correct details.

    But if i try and get the order number

     

        <xsl:if test="string-length($isPostback) > 0">
            <xsl:value-of select="CommerceLibrary:ExecuteBasketPipeline()"></xsl:value-of>
            <xsl:variable name="result" select="CommerceLibrary:Checkout()"></xsl:variable>
          
          <xsl:copy-of select="$result/purchaseOrder/orderNumber" />

    I don't see any result.  Any help would be appreciated.

  • Craig Cronin 304 posts 503 karma points
    Sep 30, 2012 @ 21:08
    Craig Cronin
    1

    Got it 10 minutes later $result/purchaseOrder/@orderNumber 

    It needed the @ sign....happy days.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 01, 2012 @ 11:49
    Søren Spelling Lund
    0

    Thanks for being awesome and following up with the solution :)

Please Sign in or register to post replies

Write your reply to:

Draft