AW: [Typo3-UG Oesterreich] Shop-Modul und ev. Auftrag
media.res | alex widschwendter
a.widschwendter at mediares.at
Thu May 13 12:58:53 CEST 2004
hi anatol,
> Wie kann ich es erreichen, dass bei Auswahl eines der Select-Box-Einträge
> die
> anderen Felder (z.B. Preis) mit einem Wert aus der Select-Box automatisch
> belegt werden?
in der tca.php
"type" => Array (
"label" =>
"LLL:EXT:tt_products/locallang_tca.php:tt_products.type",
"config" => Array (
"type" => "select",
"items" => Array (
Array("Deutsch", "0"), // deine artikel nummern
Array("English", "1")
)
)
)
),
// hier dann welche felder mit was befüllt werden sollen. a bissl
probieren dann solltest es bald haben.
"types" => Array (
"0" => Array("showitem" => "hidden;;;;1-1-1, type, title;;3;;3-3-3,
itemnumber, price;;2, taxrate;;4, notInStock, olivesort, origin, region,
cropyear, bestbefordate, taste, weight, aroma, disposition,
disposition2, disposition3, color, packagetype, material, size, care,
whatelse, mill, note, image;;;;4-4-4, image2;;;;5-5-5"),
"1" => Array("showitem" => "hidden;;;;1-1-1, type, title_en;;3;;3-3-3,
itemnumber, price;;2, notInStock_en, olivesort, origin_en, region_en,
cropyear, bestbefordate, taste_en, weight, aroma_en, disposition_en,
disposition2_en,disposition3_en, color_en, packagetype_en, material_en,
size, care_en, whatelse_en, mill_en, note_en, image;;;;4-4-4,
image2;;;;5-5-5")
),
hth alex
More information about the TYPO3-at
mailing list