From 60b063fb7936b47a8a7b6c1dbed520185aa5a28b Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Thu, 7 Aug 2025 21:34:39 +0200 Subject: [PATCH] [BUGFIX] Replace legacy configuration for items in TCA Relates: #679 --- .../TCA/tx_cart_domain_model_order_address.php | 10 ++++++++-- Configuration/TCA/tx_cart_domain_model_order_tax.php | 10 ++++++++-- Documentation/guides.xml | 2 +- ext_emconf.php | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Configuration/TCA/tx_cart_domain_model_order_address.php b/Configuration/TCA/tx_cart_domain_model_order_address.php index a5a2163b..ab92024d 100644 --- a/Configuration/TCA/tx_cart_domain_model_order_address.php +++ b/Configuration/TCA/tx_cart_domain_model_order_address.php @@ -47,8 +47,14 @@ 'renderType' => 'selectSingle', 'readOnly' => 1, 'items' => [ - ['label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.billing', 'value' => '\\' . BillingAddress::class], - ['label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.shipping', 'value' => '\\' . ShippingAddress::class], + [ + 'label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.billing', + 'value' => '\\' . BillingAddress::class, + ], + [ + 'label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.shipping', + 'value' => '\\' . ShippingAddress::class, + ], ], 'default' => '\\' . BillingAddress::class, ], diff --git a/Configuration/TCA/tx_cart_domain_model_order_tax.php b/Configuration/TCA/tx_cart_domain_model_order_tax.php index 79f16fb4..d2c26eb2 100644 --- a/Configuration/TCA/tx_cart_domain_model_order_tax.php +++ b/Configuration/TCA/tx_cart_domain_model_order_tax.php @@ -42,8 +42,14 @@ 'type' => 'select', 'renderType' => 'selectSingle', 'items' => [ - [$_LLL . ':tx_cart_domain_model_order_tax.record_type.tax', 'tax'], - [$_LLL . ':tx_cart_domain_model_order_tax.record_type.total_tax', 'total_tax'], + [ + 'label' => $_LLL . ':tx_cart_domain_model_order_tax.record_type.tax', + 'value' => 'tax', + ], + [ + 'label' => $_LLL . ':tx_cart_domain_model_order_tax.record_type.total_tax', + 'value' => 'total_tax', + ], ], 'default' => 'tax', ], diff --git a/Documentation/guides.xml b/Documentation/guides.xml index 94151cd0..8e19cd15 100644 --- a/Documentation/guides.xml +++ b/Documentation/guides.xml @@ -11,7 +11,7 @@ interlink-shortcode="extcode/cart" /> diff --git a/ext_emconf.php b/ext_emconf.php index 90fa3af7..ab578fb9 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ 'title' => 'Cart', 'description' => 'Shopping Cart(s) for TYPO3', 'category' => 'plugin', - 'version' => '10.2.8', + 'version' => '10.2.9', 'state' => 'stable', 'author' => 'Daniel Gohlke', 'author_email' => 'ext@extco.de',