Jump to content

Total_tax modification


alvarotrapero

Recommended Posts

Hello everyone

We have recently seen that the PS total_tax (Version 1.6.1.6) computes them as follows:
[Price of the total without taxes - Price of the total with taxes]

 

Giving as obvious to an error because we already know what PS likes to round. The question is, how can I make orders/payments use the correct tax in this way?

Total_products * 1.21 (We have only this tipe of ta
x, 21%)
 

We have been able to display the correct order amount in the cart by editing Cart.php like this:

$base_total_tax_inc = $this->getOrderTotal(false)*1.21;

But of course, when confirming the orders the whole process of the BO is done wrong, (the payment shows incorrect total price)
 

*We have already tried changing all the rounding options of the BO

Thanks in advance.

Edited by alvarotrapero (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...