cart — set the current shopping cart
| Attribute | Pos. | Req. | Default | Description |
|---|---|---|---|---|
| [ nickname | name ] | Yes | Yes | Cart name to switch to. | |
| interpolate | 0 | interpolate output? | ||
| hide | 0 | Hide the tag return value? |
This simple tag sets the default cart name for tags that operate on it
(such as
[shipping],
[price],
[total],
[subtotal] or
[nitems]).
Interchange 5.7.0:
Source: code/SystemTag/cart.coretag
Lines: 13
# Copyright 2002-2007 Interchange Development Group and others # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. See the LICENSE file for details. # # $Id: cart.coretag,v 1.6 2007/03/30 23:40:49 pajamian Exp $ UserTag cart Order name UserTag cart PosNumber 1 UserTag cart Version $Revision: 1.6 $ UserTag cart MapRoutine Vend::Interpolate::tag_cart
Source: lib/Vend/Interpolate.pm (rev. 2.308 from Mon Sep 22 00:01:19 2008)
Lines: 2736
sub tag_cart {
$Vend::CurrentCart = shift;
return '';
}
Source: lib/Vend/Interpolate.pm (rev. 2.308 from Mon Sep 22 00:01:19 2008)
Lines: 2736
sub tag_cart {
$Vend::CurrentCart = shift;
return '';
}