From f7c1d6231500a489c4b8ce7956c8c93cdc89b0f5 Mon Sep 17 00:00:00 2001 From: Andreas Hager <3351175+andreashager@users.noreply.github.com> Date: Mon, 7 Jul 2025 13:11:39 +0200 Subject: [PATCH] [BUGFIX] Limit tax classes to current order Currently all tax classes from all orders are loaded instead of the specifc ones from current oder item only. This breaks expansion of TYPO3 IRRE element if you have a lot of orders. --- Configuration/TCA/tx_cart_domain_model_order_product.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Configuration/TCA/tx_cart_domain_model_order_product.php b/Configuration/TCA/tx_cart_domain_model_order_product.php index ca16e8b2..cf8c5025 100644 --- a/Configuration/TCA/tx_cart_domain_model_order_product.php +++ b/Configuration/TCA/tx_cart_domain_model_order_product.php @@ -154,6 +154,7 @@ 'renderType' => 'selectSingle', 'readOnly' => 1, 'foreign_table' => 'tx_cart_domain_model_order_taxclass', + 'foreign_table_where' => 'AND {#tx_cart_domain_model_order_taxclass}.{#item} = ###REC_FIELD_item###', 'minitems' => 1, 'maxitems' => 1, 'appearance' => [