[Typo3-shop] Country/company
Michel Goulmy // www.NoteTaker.nl
mg at noteNOSPAMtaker.nl
Mon Aug 8 14:32:29 CEST 2005
Hi,
The company thing I've fixed. In class.tx_ttproducts.php I have added the
company field:
'company' => $this->personInfo['company'],
$insertFields = array(
'pid' => $this->conf['PIDuserFolder'],
'tstamp' => time(),
'username' => $username,
'password' => $this->password,
'usergroup' => $this->conf['memberOfGroup'],
/* Added Els: introduce a field into sys_products_orders containing the uid
of the fe_user */
'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' => $this->personInfo['country'],
'crdate' => time()
);
Country doesn't work as it should, the programm fills the Country field in
the database, only the second time my template doesn't get the information:
In my template I've the following line:
<input type="text" name="recs[personinfo][country]" size="60"
value="###PERSON_COUNTRY###">
that seems to work with saving in the database, only reading from the
database doesn't work, what am I doing wrong?
with kind regards,
Michel
www.notetaker.nl
"Michel Goulmy // www.NoteTaker.nl" <mg at noteNOSPAMtaker.nl> schreef in
bericht
news:mailman.1.1123491780.6528.typo3-project-tt-products at lists.netfielders.de...
> Hi,
>
> I've got the latest version of tt-products and it works almost perfect.
> Except the user registration, two things won't store in the user database.
> That's company name and country. Is this something what's not in the code
> or do I have a strange problem why it doesn't work?
>
> greetings,
> Michel
>
>
More information about the TYPO3-project-tt-products
mailing list