Skip to content

Commit

Permalink
Add clear function to cart action map.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Sep 15, 2010
1 parent 90f38c4 commit 3aee685
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/cart.action
Expand Up @@ -11,6 +11,11 @@ sub {
return 1;
}

# clear function?
if ($CGI->{clear}) {
$Tag->cart_clear();
}

# remove function?
for (my $i = 0; $i < @$Items; $i++) {
if ($CGI->{"zeroquantity$i"}) {
Expand Down

0 comments on commit 3aee685

Please sign in to comment.