cart
cart copied to clipboard
CurrencyForm is displayed even when only one currency is configured
Bug Report
Current Behavior When I only have 1 currency configured the currency dropdown get still displayed, there is some fluid logic in ti but it doesn't kick in.
<f:if condition="{settings.currencies -> f:count()} > 1">
The Reason is that the content of settings.currencies is
currencies {
default = 1
1 {
code = EUR
sign = €
translation = 1.00
}
}
which lead a count of 2.
Expected behavior/output The currency dropdown should not be visible of only 1 currency is configured
Environment
- TYPO3 version(s): 9.5.20
- cart version: 6.9.2
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
- OS: OSX Catalina
Possible Solution Maybe it should check if the count is > 2?