[TYPO3-commerce] forms are not pre-filled when browsing checkout's steps

Thibaut van de Mortel tibo at goutemesdisques.com
Sat Jan 5 21:57:37 CET 2008


Hello list,
I forgot to mention the bug about resetting the delivery address.

If you have entered a delivery address, it doesn't get reset when you go 
back to step#1 and choose "delivery address is the same as billing 
address".

This problem can be fixed in main function of pi3, after the data is 
written to session in line 218 of class.tx_commerce_pi3.php I add these 
lines :

----------------------------------------------

if($this->piVars['check']=='billing' && 
($this->piVars['step']=='listing' || $this->piVars['step']=='payment')){	
	unset($this->piVars['delivery']);
	$GLOBALS['TSFE']->fe_user->setKey('ses', 'delivery', NULL);
}

----------------------------------------------


Regards,
tibo


More information about the TYPO3-project-commerce mailing list