Log cart errors for anything that prevents you from checking out. Fix an error in the PayDriver template variables.
This commit is contained in:
parent
b316e84feb
commit
5ebd6864cc
2 changed files with 29 additions and 11 deletions
|
|
@ -102,7 +102,7 @@ sub appendCartVariables {
|
|||
my $credit = WebGUI::Shop::Credit->new($session, $cart->getPosUser->userId);
|
||||
$var->{inShopCreditAvailable} = $credit->getSum;
|
||||
$var->{inShopCreditDeduction} = $credit->calculateDeduction($var->{totalPrice});
|
||||
$var->{totalPrice } = $self->formatCurrency($totalPrice + $var->{inShopCreditDeduction});
|
||||
$var->{totalPrice } = $cart->formatCurrency($totalPrice + $var->{inShopCreditDeduction});
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue