more fixes
This commit is contained in:
parent
03611cacf3
commit
6a27e64414
1 changed files with 4 additions and 1 deletions
|
|
@ -1408,7 +1408,10 @@ sub www_emptyCart {
|
|||
my $self = shift;
|
||||
my $shoppingCart = WebGUI::Commerce::ShoppingCart->new($self->session);
|
||||
$shoppingCart->empty;
|
||||
return $self->www_view();
|
||||
foreach (1..25) {
|
||||
$self->session->scratch->delete('purchaseId'.$_);
|
||||
}
|
||||
return $self->www_resetScratchCart();
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue