4.9. cart
4.9.1. Summary
Parameters: name
Positional parameters in same order.
Pass attribute hash as last to subroutine: no
Must pass named parameter interpolate=1 to cause interpolation.
Invalidates cache: YES
Called Routine:
ASP-like Perl call:
$Tag->cart(
{
name => VALUE,
}
)
OR
$Tag->cart($name);
[cart name]
| Parameters | Description | Default |
| name | DEFAULT_VALUE |
| Attributes | Default |
| interpolate (reparse) | No |
| Other_Charactreristics | |
| Invalidates cache | YES |
| Container tag | No |
| Has Subtags | No |
| Nests | Yes |
Tag expansion example:
[cart name] --- TAGRESULT
ASP-like Perl call:
$Tag->cart( { name => VALUE_name
}, $body );
or similarly with positional parameters,
$Tag->cart(name, $attribute_hash_reference, $body);
4.9.2. Description
Sets the name of the current shopping cart for display of shipping, price, total, subtotal, shipping, and nitems tags.