Jump to content

Tax Rounding Problem


Recommended Posts

Hi

 

I'm busy finishing my webshop and I have one problem with tax calculations.

version: 1.6.1.4

 

I'm not able to solve it with the round up/round type

 

for example:

I have an item 

 

24,75 without tax

29,95 (with tax 21%)

 

The site shows the right prices incl tax

So 29,95 (euro) incl tax

 

If I buy 1 products. Everything is fine

But if I buy three, then the price should be 89,85 incl tax.

But it shows 89,84 (because of rounding the prices)

 

The option to use round type "round on each product" is not the solution.

I get the right price incl tax. But the tax calculation aren't right. I need to calculate the tax over the total price.

Playing with the round mode doesn't solve it either.

I can...add more decimals to the product price. But that will only cause the problem to happen at higher amounts. It won't happen at 3 parts anymore, but at 50+ (for example).

 

 

So I think I came up with a solution

 

- set product price at (for example) 24,75

- set rounding type a "round on each product". This way it shows the right price incl tax on the site.

- The total price in the cart with also be right (because it uses 29,95 (incl tax) times the quantity. 

- tax calculation won't be right, because it calculates tax on each product (and I need tax on the total price)

 

Is this possible?

Let the cart calculate the tax based on total price incl tax instead of each product.

 

Or is there a way to set product prices incl tax? (and I don't mean incl tax on the front end, but in the backend at the product settings)

Edited by tjblaat (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 4 months later...

read this, i've encountered the same issue and i've created this fix, i've also createad a bug report but prestashop's developers haven't did nothing on it

 

http://www.presta-addons.net/gb/content/7-incorrect-tax-rounding-and-application-in-prestashop-161

 

here you can find an explaination and a link to download the patch for prestashop 1.6.1.0 to 1.6.1.5

 

could you post us the link to the bug tracker please

Link to comment
Share on other sites

  • 11 months later...
  • 1 year later...

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...