Ajeh:
What you could try is to edit the function:
/your_secret_admin/includes/functions/general.php
and around line 1638 change the function to include the code in RED:
////
// Add tax to a products price
function zen_add_tax($price, $tax) {
global $currencies;
[B]// bof: force display of tax on orders.php only
//[/B][B] if (DISPLAY_PRICE_WITH_TAX_ADMIN == 'true') {[/B][B]
global $PHP_SELF;
if (strstr($PHP_SELF, FILENAME_ORDERS) || DISPLAY_PRICE_WITH_TAX_ADMIN == 'true') {
// eof: force display of tax on orders.php only
[/B] return zen_round($price, $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']) + zen_calculate_tax($price, $tax);
} else {
return zen_round($price, $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
}
}
>
> See if that accomplishes what you are needing ...
Didn't see if the above fixed the problem or not, but was just working with someone that observed this same condition, but identified that it happens when a valid VAT# is entered (both the includes and excludes tax values were the same) when an incorrect or no VAT# was entered then the orders.php display showed a difference between the two values. I am told that this is happening when the admin include tax is set to true and am wondering how the above fix will affect prices when the admin flag is true instead of false as the above OP had this set. Guess off to some testing. :)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...