[TYPO3-commerce] mandatory fields / no login possible

Basti Baumann donillo at gmail.com
Thu Jun 28 09:33:06 CEST 2007


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?

Regards
Basti
						}



More information about the TYPO3-project-commerce mailing list