Breaking: #437 - Refactor allowedCountries TypoScript Configuration
See Issue 413 <https://
Description
In order to streamline the TypoScript configuration the configuration for allowedCountries was changed.
Affected Installations
All installations using an own configuration for plugin.
or
override the Resources/
or
Resources/
partial.
Migration
TypoScript
Adapt the new TypoScript configuration structure. Instead of:
plugin.tx_cart {
settings {
allowedCountries {
de = Deutschland
at = Österreich
ch = Schweiz
}
defaultCountry = de
}
}
Copied!
use a structure like this:
plugin.tx_cart {
settings {
countries {
preset = 1
options {
1 {
code = de
label = Deutschland
}
2 {
code = at
label = Österreich
}
3 {
code = ch
label = Schweiz
}
}
}
}
}
Copied!
Templates (Partials)
Use settings.
instead of settings.
in the partial,
and add both option
and option
to the country
selectors.