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 1459 posts 1880 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 1372 posts 3103 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 1459 posts 1880 karma points
    Apr 19, 2012 @ 10:29
    Gordon Saxby
    0

    Oops, sorry! That was completely obvious!

Please Sign in or register to post replies

Write your reply to:

Draft