2.47. nitems

Returns the total number of items ordered. Uses the current cart if none specified.

2.47.1. Summary

Parameters: name

Must pass named parameter interpolate=1 to cause interpolation.

Invalidates cache: YES

Called Routine:

ASP-like Perl call:

    $Tag->nitems(
        {
         name => VALUE,
        }
    )

 OR

    $Tag->nitems($name, $ATTRHASH);

2.47.2. Description

Expands into the total number of items ordered so far. Takes an optional cart name as a parameter.