Skip to content

Commit bb1d34b

Browse files
committed
[BUGFIX] Replace legacy configuration for items in TCA
Relates: #679
1 parent 7e4e5d7 commit bb1d34b

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

Configuration/TCA/tx_cart_domain_model_order_address.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,14 @@
4747
'renderType' => 'selectSingle',
4848
'readOnly' => 1,
4949
'items' => [
50-
['label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.billing', 'value' => '\\' . BillingAddress::class],
51-
['label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.shipping', 'value' => '\\' . ShippingAddress::class],
50+
[
51+
'label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.billing',
52+
'value' => '\\' . BillingAddress::class,
53+
],
54+
[
55+
'label' => $_LLL . ':tx_cart_domain_model_order_address.record_type.shipping',
56+
'value' => '\\' . ShippingAddress::class,
57+
],
5258
],
5359
'default' => '\\' . BillingAddress::class,
5460
],

Configuration/TCA/tx_cart_domain_model_order_tax.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,14 @@
4242
'type' => 'select',
4343
'renderType' => 'selectSingle',
4444
'items' => [
45-
[$_LLL . ':tx_cart_domain_model_order_tax.record_type.tax', 'tax'],
46-
[$_LLL . ':tx_cart_domain_model_order_tax.record_type.total_tax', 'total_tax'],
45+
[
46+
'label' => $_LLL . ':tx_cart_domain_model_order_tax.record_type.tax',
47+
'value' => 'tax',
48+
],
49+
[
50+
'label' => $_LLL . ':tx_cart_domain_model_order_tax.record_type.total_tax',
51+
'value' => 'total_tax',
52+
],
4753
],
4854
'default' => 'tax',
4955
],

Documentation/guides.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interlink-shortcode="extcode/cart"
1212
/>
1313
<project title="Cart"
14-
release="11.4.8"
14+
release="11.4.9"
1515
version="11.4"
1616
copyright="2018 - 2025"
1717
/>

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'title' => 'Cart',
55
'description' => 'Shopping Cart(s) for TYPO3',
66
'category' => 'plugin',
7-
'version' => '11.4.8',
7+
'version' => '11.4.9',
88
'state' => 'stable',
99
'author' => 'Daniel Gohlke',
1010
'author_email' => 'ext@extco.de',

0 commit comments

Comments
 (0)