some debug

This commit is contained in:
Matthew Wilson 2006-05-13 15:14:55 +00:00
parent 6863ea6c2a
commit 4bce254385

View file

@ -2116,6 +2116,7 @@ sub removePurchaseFromCart {
foreach my $event (@eventsToSubtract) {
foreach my $item (@$items) {
if ($item->{item}->{productId} eq $event) {
$self->session->errorHandler->warn("removing ".$event);
$shoppingCart->setQuantity($event,'Event',($item->{item} - 1));
}
}