Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1347 posts 1608 karma points
    Apr 18, 2012 @ 17:02
    Gordon Saxby
    0

    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?

  • Rune Grønkjær 1303 posts 2895 karma points
    Apr 18, 2012 @ 18:43
    Rune Grønkjær
    1

    Hi Gordon,

    In the xslt you can just <xsl:value-of select="count($order/orderLine)" />. Easy as pie :)

    /Rune

  • Gordon Saxby 1347 posts 1608 karma points
    Apr 19, 2012 @ 10:29
    Gordon Saxby
    0

    Oops, sorry! That was completely obvious!

  • 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.

Please Sign in or register to post replies