[TYPO3-commerce] country dropdown list
Bartbogdan
bdubelaar at sundayafternoon.nl
Wed Feb 9 01:00:34 CET 2011
Op 2011-02-06 17:41:44 +0100, zei "t3gm.de - Gregor Maier TYPO3
Integrator" <mail at t3gm.de>:
>
> Hi List,
>
> using an older version of commerce since years, its version 0.0.9. My
> problem ist the dropdown list for the country entries, it shold be
> fixed.
> I tried this but wont work for me:
>
> plugin.tx_commerce_pi3 {
> billing {
> sourceFields {
> country {
> type = select
> table = static_countries
> # Lieferung nur nach Deutschland und Österreich
> select = cn_iso_3 IN ('DEU','AUT','CHE', 'GBR','DNK','NLD','ITA','ESP')
> label = cn_short_en
> value = cn_iso_3
> default = DEU
> mandatory = 1
> readonly = 0
> }
> }
> }
> }
>
>
> Some other ideas?
>
> Cheers Gregor
This is our working code:
country {
type = static_info_tables
field = COUNTRIES
select = cn_iso_3 IN
('NLD','DEU','BEL','GBR','ESP','SWE','PRT','FRA','AUT','SUI','AUS','KOR','SGP','USA','JPN','DNK','CHF','ITA')
default
= NLD
mandatory = 1
readonly = 0
}
Best regards,
Bart
More information about the TYPO3-project-commerce
mailing list