Skip to content

[BUGFIX] Show the taxes in the order views - #885

Merged
d-g-codappix merged 1 commit into
mainfrom
order-view-taxes
Nov 23, 2026
Merged

d-g-codappix merged 1 commit into
mainfrom
order-view-taxes

Conversation

@d-g-codappix

Copy link
Copy Markdown
Collaborator

Resolves: #884

The cart tables of the order in the backend (Partials/Backend/Order/Show/CartTable/*) and in the frontend (Partials/Order/Show/*) used properties which do not exist in the order models, so no tax column was rendered and the frontend showed neither name nor price of shipping and payment.

  • One column per tax class of the order (orderItem.totalTax), the header uses the label tx_cart.tax_vat.value ("VAT (19 %)").
  • Products, shipping and payment show their tax in the column of their tax class (new partials TaxColumns.html for backend and frontend, matched by taxClass.uid).
  • The row "cart price" assigns orderItem.tax by tax class.
  • Shipping and payment rows are only rendered if they exist; the frontend uses shipping / payment.
  • The tax class of an order discount is not stored (Order\Discount::$taxClass is not mapped), so the discount row keeps empty tax columns.

New functional test OrderTaxColumnsTest renders both tables for an order with 7 % and 19 % from the database.

The cart tables of the order in the backend and in the frontend used
properties which do not exist in the order models, so no tax column
was rendered and the frontend showed neither shipping nor payment.

The taxes of products, shipping and payment are shown in the column
of their tax class. The tax class of an order discount is not stored,
its row keeps empty tax columns.

Resolves: #884

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-g-codappix d-g-codappix added bug 12.x related to TYPO3 v14 labels Nov 23, 2026
@d-g-codappix
d-g-codappix merged commit b1adc74 into main Nov 23, 2026
25 checks passed
@d-g-codappix
d-g-codappix deleted the order-view-taxes branch November 23, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

12.x related to TYPO3 v14 bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The order views show no tax columns

1 participant