Zum Inhalt springen

Trotz Adresseingabe verlangt der Shop eine Eingabe?

Erstellt am 29. August 2005 · 7 Antworten · letzte Antwort am 1. September 2005

Tags: Frage

Cihat80 ·

Guten Abend zusammen,

kann mir jemand helfen? Ich habe den tt_produkts installiert. der Kunde wählt die Produkte aus, geht zur Kasse, trägt alle erforderlichen Daten ein (inkl. Adresse) und es kommt ein "Bitte geben Sie Ihre Adresse ein"

Weiß jemand von euch, woran das liegen könnte? Ich verstehe es einfach nicht ;-(

Danke im voraus für eure hilfe

Flink ·

Dazu muß im Template folgendes eingetragen sein:

<tr>
<td>###GW1B###<strong>Adresse: </strong>*###GW1E###</td>
<td><textarea cols=30 rows=5 name="recs[personinfo][address]" wrap="off">###PERSON_ADDRESS###</textarea></td>
</tr>

Womöglich fehlt in deinem Adress-Teil der Teil

recs[personinfo][address]
Cihat80 ·

Hmm...."recs[personinfo][address]" Der war drin.
Im Setuo der seite habe ich "useStaticInfoCountry=0" eingebunden und der wollte trotzdem nicht ;-( Ist das erste mal, dass ich einen Shop in Typo aufsetze

Flink ·
Cihat80 schrieb

Hmm...."recs[personinfo][address]" Der war drin.
Im Setuo der seite habe ich "useStaticInfoCountry=0" eingebunden und der wollte trotzdem nicht ;-( Ist das erste mal, dass ich einen Shop in Typo aufsetze

Welche Version verwendest du?

Cihat80 ·

Hallo Flink,

Ich habe die Typoversion 3.8 installiert, die tt_products 2.2.4 und zk_products 1.3.2.

Warum (Lechz nach wissen ;-)

Flink ·
Cihat80 schrieb

Warum (Lechz nach wissen ;-)

Es gibt schließlich verschiedene Versionen.

:o

Du mußt den Code anpassen in
function finalizeOrder($orderUid, $orderConfirmationHTML) {

:

$insertFields = array(
	'pid' => $this->conf['PIDuserFolder'],
	'tstamp' => time(),
	'username' => $username,
	'password' => $this->password,
	'usergroup' => $this->conf['memberOfGroup'],
	'uid' => $this->personInfo['feusers_uid'],
	'company' => $this->personInfo['company'],
	'name' => $this->personInfo['name'],
	'address' => $this->personInfo['address'],
	'telephone' => $this->personInfo['telephone'],
	'fax' => $this->personInfo['fax'],
	'email' => $this->personInfo['email'],
	'zip' => $this->personInfo['zip'],
	'city' => $this->personInfo['city'],
	'country' => $TSFE->fe_user->user['country'],
	'static_info_country' => $TSFE->fe_user->user['static_info_country'],

die letzten beiden Zeilen auf

'country' => $this->personInfo["country"],

oder das anhängen:

$countryKey = ($this->conf['useStaticInfoCountry'] ? 'static_info_country':'country');
				$insertFields[$countryKey] =  $this->personInfo['country'];