Hi,
I have just been testing the new beta version of 2.1.0. Unfortunately it appears the rounding issue is still present in the latest version (the screenshots in my last post show the issue).
I believe the following code in admin/invoice.php needs to be changed from:
Code:
if (DISPLAY_PRICE_WITH_TAX_ADMIN == 'true') {
$priceIncTax = $currencies->format(zen_round(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), $decimals) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']);
} else {
$priceIncTax = $currencies->format(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']);
}
To the following:
Code:
$priceIncTax = $currencies->format(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']);
It would be much appreciated if the Zen Cart team could double check this fix and apply it to future versions.
I’m unsure which file needs to be edited to fix the checkout success page rounding issue (see screenshot 2 from my last post). If anyone has any idea where the checkout success totals are displayed/rounded please let me know.
Many thanks
Richard
Bookmarks