Skip to content

Conversation

@h-e-l-l-o-w-o-r-l-d
Copy link

When updating from 10.2.4 to 10.3.0 this warning occurred in the cart backend module on folders with orders.

Same as #556.

PHP Warning: Undefined array key "format" in /var/www/typo3/vendor/extcode/cart/Classes/ViewHelpers/Format/CurrencyViewHelper.php line 105

When updating from 10.2.4 to 10.3.0 this warning occurred in the cart backend module on folders with orders.

Same as extcode#556.

PHP Warning: Undefined array key "format" in /var/www/typo3/vendor/extcode/cart/Classes/ViewHelpers/Format/CurrencyViewHelper.php line 105
@extcode extcode self-assigned this Jan 23, 2026
@extcode
Copy link
Owner

extcode commented Jan 23, 2026

I think you use Site Sets to configure your site.
In this case the ext_typoscript_setup.typoscript will be ignores (see: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/FileStructure/ExtTyposcriptSetupTyposcript.html)

This file configures module.tx_cart in instances with TypoScript site configuration.

This causes the error of a missing configuration. I'll have a look how to set up modules via Site sets. In next major release most of TypoScript settings will be migrated to Site sets by default.

@extcode
Copy link
Owner

extcode commented Jan 23, 2026

I think we can move the block from this file to pagets.typoscript. Should look like:

tx_cart {
    settings {
        format.currency {
            currencySign       = {$plugin.tx_cart.settings.format.currency.currencySign}
            decimalSeparator   = {$plugin.tx_cart.settings.format.currency.decimalSeparator}
            thousandsSeparator = {$plugin.tx_cart.settings.format.currency.thousandsSeparator}
            prependCurrency    = {$plugin.tx_cart.settings.format.currency.prependCurrency}
            separateCurrency   = {$plugin.tx_cart.settings.format.currency.separateCurrency}
            decimals           = {$plugin.tx_cart.settings.format.currency.decimals}
        }

        backend {
            dateFormat = {$plugin.tx_cart.settings.backend.dateFormat}
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants