
Originally Posted by
sporty
... When I edit an order I make all the necessary changes and then I save it and it's ok. But then if I go to a product page in admin the prices are wrong, that is, Products Price (Net) and Products Price (Gross) are the same, even if it was selected a Tax Class from this dropdown menu. ...
I would not rely on the (Gross) calculations found on the page for editing products. The current Zen Cart administrative interface only adds tax to the (Net). The tax calculation is only based upon a single location (usually the store location; not customer locations). So basically (Gross) is not accurate for all transactions as different tax rates may apply to different customers (and purchases).
If you really, really, really want... Can try the following "bugfix" to force the tax calculation to revert to the store location (instead of the last customer order edited). Edit "/admin/edit_orders.php" adding the line in red (around line 1755):
Code:
</html>
<?php
unset($_SESSION['customer_id']);
require(DIR_WS_INCLUDES . 'application_bottom.php');
Bookmarks