---
title: "tt_products: neues Adressfeld"
url: "https://www.typo3.net/d/93726-tt-products-neues-adressfeld"
source: "typo3.net"
tags: ["Extensions","Frage","TCA"]
created: "2009-10-19"
last_reply: "2010-04-09"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# tt_products: neues Adressfeld

Extensions · 2 Antworten · gestartet 2009-10-19

## Eröffnungsbeitrag

**Puschel** · 2009-10-19 · [Beitrag #1](https://www.typo3.net/d/93726-tt-products-neues-adressfeld/1)

Hallo @ all
ich brauche bei der Adresseingabe von tt_products weitere Felder, weil ich das Lieferdatum und die Uhrzeit mit abfragen muß.
Leider gelingt es mir nicht, neue Formularfelder (select-Auswahlfelder) einzubinden.

Ich habe bereits in die tca.php folgendes eingetragen:

```php
		'tag' => Array (	 
			'exclude' => 1,
			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.tag',
			'config' => Array (
				'type' => 'input',
				'size' => '40',
				'max' => '80',
			)
		),
		'monat' => Array (	 
			'exclude' => 1,
			'label' => 'LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:sys_products_orders.monat',
			'config' => Array (
				'type' => 'select',
				'items' => Array (
					Array('LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:sys_products_orders.monat.I.0', '0'),
					Array('LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:sys_products_orders.monat.I.1', '1'),
					Array('LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:sys_products_orders.monat.I.2', '2'),
					Array('LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:sys_products_orders.monat.I.3', '3'),
				),
				'size' => 1,	
				'maxitems' => 1,
			)
		),
```

Auch in die: showRecordFieldList eingetragen.
In der locallang_db.xml:

```php
			<label index="sys_products_orders.tag">Tag</label>
			<label index="sys_products_orders.tag.I.0">01</label>
			<label index="sys_products_orders.tag.I.1">02</label>
			<label index="sys_products_orders.tag.I.2">03</label>
			<label index="sys_products_orders.tag.I.3">04</label>
			<label index="sys_products_orders.tag.I.4">05</label>
			<label index="sys_products_orders.tag.I.5">06</label>
			
			<label index="sys_products_orders.monat">Monat</label>
			<label index="sys_products_orders.monat.I.0">01</label>
			<label index="sys_products_orders.monat.I.1">02</label>
			<label index="sys_products_orders.monat.I.2">03</label>
			<label index="sys_products_orders.monat.I.3">04</label>
			<label index="sys_products_orders.monat.I.4">05</label>
			<label index="sys_products_orders.monat.I.5">06</label>
```

Im TPL dann  eingebunden. ###PERSON_TAG### wird aber nicht ersetzt.

Kann mir jemand einen Tipp geben? Vielen Dank schonmal -

Viele Grüße
Puschel

## Antworten

### [#2](https://www.typo3.net/d/93726-tt-products-neues-adressfeld/2) · andri · 2010-04-09

Hallo Puschel,

Konntest du dieses Problem lösen? Ich stehe vor der selben Anforderung.

Grüsse
Andri

### [#3](https://www.typo3.net/d/93726-tt-products-neues-adressfeld/3) · Puschel · 2010-04-09

Hallo Andri,
leider hab ich nur eine Umgehung gefunden, ist nicht hübsch aber funktioniert...

Ich habe nicht verwendete Adressfelder (person_fax und person_country) zweckentfremdet. In einen hab ich einen Kalender eingebunden und mit dem anderen die Uhrzeit auswählbar gemacht.

Hier zu sehen:
<http://www.bagelbrothers.de/restaurants/l-nikolai/online-shop/onlineshop-leipzig-liefergebiet-2/bagel-sandwiches.html>

Wie gesagt, nicht schön aber funktioniert  #paralyzed#

Viele Grüße
Puschel

---

Quelle: „tt_products: neues Adressfeld“, typo3.net, https://www.typo3.net/d/93726-tt-products-neues-adressfeld
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
