haha
This commit is contained in:
parent
1fce91669d
commit
3cc187e91c
1 changed files with 1 additions and 1 deletions
|
|
@ -2115,7 +2115,7 @@ sub removePurchaseFromCart {
|
|||
foreach my $event (@eventsToSubtract) {
|
||||
foreach my $item (@$items) {
|
||||
if ($item->{item}->{_event}->{productId} eq $event) {
|
||||
$shoppingCart->setQuantity($event,'Event',($item->{item} - 1));
|
||||
$shoppingCart->setQuantity($event,'Event',($item->{quantity} - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue