Recalculate totals based on shipping, now that it works correctly.
This commit is contained in:
parent
a98484dbcb
commit
fe7f3e0cb2
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -1019,7 +1019,7 @@ sub www_view {
|
|||
$var{posUserId} = $posUser->userId;
|
||||
|
||||
# calculate price adjusted for in-store credit
|
||||
$var{totalPrice} = $var{subtotalPrice}; # + $var{shippingPrice} + $var{tax};
|
||||
$var{totalPrice} = $var{subtotalPrice} + $var{shippingPrice} + $var{tax};
|
||||
my $credit = WebGUI::Shop::Credit->new($session, $posUser->userId);
|
||||
$var{ inShopCreditAvailable } = $credit->getSum;
|
||||
$var{ inShopCreditDeduction } = $credit->calculateDeduction($var{totalPrice});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue