salestax

### Index Up << >>

## salestax

CALL INFORMATION
  Parameters: name noformat

  Positional parameters in same order.

  Pass attribute hash as last to subroutine: no

  Must pass named parameter interpolate=1 to cause interpolation.

  Invalidates cache: no

  Called Routine:

  ASP/perl tag calls:

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

       OR

          $Tag->salestax($name, $noformat);

  Attribute aliases

                  cart ==> name

DESCRIPTION
  Expands into the sales tax on the subtotal of all the items ordered so far for the cart, default cart is `main`. If there is no key field to derive the proper percentage, such as state or zip code, it is set to 0. If the noformat tag is present and non-zero, the raw number with no currency formatting will be given.

### Index Up << >>