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
In your example site (cart_step01.xslt), you use "$order/@totalQuantity" to display how many items are in the basket ... how do I find out how many order lines there are instead?
Hi Gordon,
In the xslt you can just <xsl:value-of select="count($order/orderLine)" />. Easy as pie :)
/Rune
Oops, sorry! That was completely obvious!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
line count rather than total quantity
In your example site (cart_step01.xslt), you use "$order/@totalQuantity" to display how many items are in the basket ... how do I find out how many order lines there are instead?
Hi Gordon,
In the xslt you can just <xsl:value-of select="count($order/orderLine)" />. Easy as pie :)
/Rune
Oops, sorry! That was completely obvious!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.