Zum Inhalt springen

Reduzierung der im Listenfeld "Land" eingetragenen Staaten

Erstellt am 20. Juni 2008 · 1 Antwort · letzte Antwort am 20. Juni 2008

Tags: Frage

thomasd ·

Hallo,

man kann ja bei der Bestellung die Liste der Staaten auf eine Auswahl an Ländern reduzieren. Das klappt auch.

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 
   } 
  } 
 } 
}

Die Frage, kann man das und wenn wie, auch beim Adressmanagment umzusetzen?

Gruß
thomasd

thomasd ·

Hab es raus ;-)

lugin.tx_commerce_pi4 {
formFields {
country {
type = select
table = static_countries
# Lieferung nur nach Deutschland
select = cn_iso_3 IN ('DEU')
label = cn_short_local
value = cn_iso_3
default = DEU
mandatory = 1
readonly = 0
}
}
}