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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...