Checkout: brutto amount equals netto amount (tax not added) — cart module calculates correctly, checkout page does not

Phoca Cart - complex e-commerce extension
OlafR
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Aug 2026, 16:29

Checkout: brutto amount equals netto amount (tax not added) — cart module calculates correctly, checkout page does not

Post by OlafR »

Environment:

Phoca Cart 6.1.5
Joomla 6.1.2
PHP 8.5.9

Tax settings (all confirmed via Options screenshots):

Tax Calculation: Tax Inclusive Price (Brutto)
Tax Calculation (Sales): Tax Inclusive Amount (Brutto)
Tax Calculation (Sales) - Change Subtotal: No
Tax Recapitulation: Change total amount and rounding in calculation

Issue:
On the checkout page (#ph-pc-checkout-box), the .ph-checkout-cart-brutto field shows the same value as .ph-checkout-cart-netto, instead of netto + tax.

Example from a real order:

.ph-checkout-cart-netto: € 28,57
.ph-checkout-cart-tax: € 5,43
.ph-checkout-cart-brutto: € 28,57 (expected: € 34,00)

The order total at the bottom of the checkout page is calculated correctly (subtotal € 89,91 + tax € 17,09 = € 107,00, matching the original brutto product prices).

Important clue: the mini-cart module (mod_phocacart_cart, the dropdown cart in the header) calculates and displays the brutto amount correctly for the same cart contents. Only the checkout page view shows the incorrect brutto = netto value per line item. This suggests the two views may use different calculation logic for the per-line brutto amount.

Tested with a completely fresh session/browser (Brave, no cache) to rule out caching — issue persists.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49543
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkout: brutto amount equals netto amount (tax not added) — cart module calculates correctly, checkout page does n

Post by Jan »

Hi, can you paste screenshot of what do you exactly mean?

Maybe it is related to X and Y calculation type:

Image

As default, Phoca Cart uses Y type.

Jan
If you find Phoca extensions useful, please support the project
OlafR
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Aug 2026, 16:29

Re: Checkout: brutto amount equals netto amount (tax not added) — cart module calculates correctly, checkout page does n

Post by OlafR »

Hi, No problem. Attached 2 screendump with also the inspect in it. One how it will be (with netto and tax hidden), and the other screenshot without them hidden.
https://imgur.com/a/rlkTdMA
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49543
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkout: brutto amount equals netto amount (tax not added) — cart module calculates correctly, checkout page does n

Post by Jan »

BTW, when you switch to standard template, do you get the same output?

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