[TYPO3-commerce] mandatory fields / no login possible

Ingo Schmitt mailinglisten at i-schmitt.de
Thu Jun 28 11:08:54 CEST 2007


Hi,

> Basti Baumann schrieb:
> 
>> Hello,
>>
>> I´m using commerce in our Intranet.
>> This means that I don´t need all the mandatory fields (only firstname 
>> and lastname) cause all the products have to be picked up in my office.
>> Second problem:
>> I want to use the shop without login, but If someone wants to order 
>> some products more often he can´t order with his e-mail address cause 
>> the address is in the system already.
>> Is the a possibility to solve this?
>>
>> Kind regards
>> Basti
> 
> 
> Hello,
> 
> the mandatory fields are in class.tx_commerce_pi3.php. I think it would 
> be nice to set the mandatory fields directly via constants.
> At the moment I have to comment out the field check in this file (for 
> example the check if email is already in the system):
> 
> if (!$this->checkUserName($value))    {                        
> $this->formError[$name] = $this->pi_getLL('error_field_username');
>     $returnVal = false;
> 
> Or is this a feature in future?
> 

You can configure the mandatory fields, and aditional fields in the PI3 
TYPO-Script. Have a look in the billing adn delivery section in the 
setup.txt.


Ingo

> Regards
> Basti
>                         }
> 


Mit freundlichen Gruessen
-- 
Ingo Schmitt                        mailto:is at marketing-factory.de
Marketing Factory Consulting GmbH   http://typo3.marketing-factory.de/
Content Management mit Typo3: Beratung - Schulung - Realisierung


More information about the TYPO3-project-commerce mailing list