Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
Got it 10 minutes later $result/purchaseOrder/@orderNumber
It needed the @ sign....happy days.
Thanks for being awesome and following up with the solution :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
Got it 10 minutes later $result/purchaseOrder/@orderNumber
It needed the @ sign....happy days.
Thanks for being awesome and following up with the solution :)
is working on a reply...