some debug
This commit is contained in:
parent
7b18ee5361
commit
be892b1d1d
1 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ sub priceLineItem {
|
|||
);
|
||||
}
|
||||
if ($numberOfPasses) {
|
||||
$self->session->errorHandler->debug('adding a discount pass.');
|
||||
$passesInCart{$passId} = $numberOfPasses;
|
||||
$totalPassesInCart += $numberOfPasses;
|
||||
}
|
||||
|
|
@ -149,6 +150,7 @@ sub priceLineItem {
|
|||
}
|
||||
# while we still have passes and items left to discount.
|
||||
while ($numberOfThisPass && $quantity) {
|
||||
$self->session->errorHandler->debug('applying a discount pass.');
|
||||
$totalPrice += $discountedPrice;
|
||||
$quantity--;
|
||||
$numberOfThisPass--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue