Skip to content

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

Merged
d-g-codappix merged 1 commit into
11.xfrom
order-view-taxes-for-v11
Nov 23, 2026
Merged

d-g-codappix merged 1 commit into
11.xfrom
order-view-taxes-for-v11

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 11.x related to TYPO3 v13 labels Nov 23, 2026
@d-g-codappix
d-g-codappix merged commit 509ff3a into 11.x Nov 23, 2026
21 checks passed
@d-g-codappix
d-g-codappix deleted the order-view-taxes-for-v11 branch November 23, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

11.x related to TYPO3 v13 bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant