1 # Copyright 2002-2007 Interchange Development Group and others
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version. See the LICENSE file for details.
8 # $Id: load_cart.tag,v 1.5 2007-03-30 23:40:57 pajamian Exp $
10 UserTag load_cart Order nickname
11 UserTag load_cart AttrAlias name nickname
12 UserTag load_cart Version $Revision: 1.5 $
13 UserTag load_cart Routine <<EOR
17 my($jn,$updated,$recurring) = split(':',$nickname);
19 $Tag->userdb({function => 'get_cart', nickname => $nickname, merge => 1});
20 $Scratch->{just_nickname} = $jn;
22 if($recurring eq 'c') {
23 $Tag->userdb({function => 'delete_cart', nickname => $nickname});