Hi,
With reference to this closed thread about errors in calculating tax - http://www.zen-cart.com/forum/showth...e=3#post689143
If you are running an older version of Zen Cart and after applying the 2 function updates as shown in the above linked thread reply post from 'wilt' you are still experiencing issues with tax calculations in the 'checkout' process, ( ie: 1c above or below incorrect in either product sub-totals or overall cart total), then also consider updating the 'function zen_add_tax()' in file /cart/includes/functions/functions_taxes.php
ie new function code
PHP Code:
// Add tax to a products price based on whether we are displaying tax "in" the price
function zen_add_tax($price, $tax) {
global $currencies;
if ( (DISPLAY_PRICE_WITH_TAX == 'true') && ($tax > 0) ) {
return $price + zen_calculate_tax($price, $tax);
} else {
return $price;
}
}
This suggested update to the above function is as is listed in Zen Cart v1.3.9g
Hope this helps...
(Apologies if this was placed in not the most appropriate ZC forum category)
Regards Matt
Bookmarks