some debug
This commit is contained in:
parent
6863ea6c2a
commit
4bce254385
1 changed files with 1 additions and 0 deletions
|
|
@ -2116,6 +2116,7 @@ sub removePurchaseFromCart {
|
||||||
foreach my $event (@eventsToSubtract) {
|
foreach my $event (@eventsToSubtract) {
|
||||||
foreach my $item (@$items) {
|
foreach my $item (@$items) {
|
||||||
if ($item->{item}->{productId} eq $event) {
|
if ($item->{item}->{productId} eq $event) {
|
||||||
|
$self->session->errorHandler->warn("removing ".$event);
|
||||||
$shoppingCart->setQuantity($event,'Event',($item->{item} - 1));
|
$shoppingCart->setQuantity($event,'Event',($item->{item} - 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue