Why am I getting incorrect calculations?

Phoca Cart - complex e-commerce extension
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Why am I getting incorrect calculations?

Post by morphinestyle »

Hello everyone,
I can't figure out what I'm doing wrong because I'm getting incorrect calculations...

Here I applied a 3% discount.

Image


Here I applied a 10% discount to the cart.

Image
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: Why am I getting incorrect calculations?

Post by morphinestyle »

I have realized that it is the display that is misleading due to vertical calculation (rather than horizontal), and the lack of text labels in the total explaining whether prices are tax inclusive or exclusive.

The price at the end of each product line is VAT EXCLUDED, and even the prices in the total are VAT EXCLUDED except for the TOTAL. Additionally, there is no text labels for VAT in the total that has been added to the calculations.

Apart from the ROUNDING, which I don't understand how it works, the calculations are correct, but it's easy to get confused.

The ideal would be to display ALL PRICES INCLUDING VAT for standard buyers and show the VAT only for buyers who are companies from outside the country of the shop's origin.


Is there a way to achieve this setup in the display of Phoca Cart?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Why am I getting incorrect calculations?

Post by Jan »

Hi, what is your tax value, testing without or with tax, no problem with rounding:

Image

Image

Image

Image

You can define for each tax if the values will be displayed or not, so the way to display/hide some tax for someone is to do different taxes for different customers (e.g. VAT or not VAT payers)

Jan
If you find Phoca extensions useful, please support the project
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: Why am I getting incorrect calculations?

Post by morphinestyle »

Ok, i make it working correctly.
Now i'm trying to remove VAT voices "everywhere"...
I will wrinte in the other thread.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Why am I getting incorrect calculations?

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply