Skip to content

Commit

Permalink
CHANGE-399 - order total different from cart total
Browse files Browse the repository at this point in the history
 guess I should use the currencies to determine rounding :)
  • Loading branch information
zcwilt committed Nov 20, 2012
1 parent c4ecd3c commit 210c4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/order.php
Expand Up @@ -445,7 +445,7 @@ function cart() {
'tax_groups'=>$taxRates,
'tax_description' => zen_get_tax_description($products[$i]['tax_class_id'], $taxCountryId, $taxZoneId),
'price' => $products[$i]['price'],
'final_price' => zen_round($products[$i]['price'] + $_SESSION['cart']->attributes_price($products[$i]['id']), 2),
'final_price' => zen_round($products[$i]['price'] + $_SESSION['cart']->attributes_price($products[$i]['id']), $decimals),
'onetime_charges' => $_SESSION['cart']->attributes_price_onetime_charges($products[$i]['id'], $products[$i]['quantity']),
'weight' => $products[$i]['weight'],
'products_priced_by_attribute' => $products[$i]['products_priced_by_attribute'],
Expand Down

0 comments on commit 210c4a8

Please sign in to comment.