[TYPO3-shop] How to put a product into basket out of an own extension?

Franz Holzinger franz at ttproducts.de
Tue Jan 20 09:53:09 CET 2009


Hello Sebastian,

> I have a own extension where I let the user put in a lot of data and out
> of that create a product that is stored in table tt_products. Now I want
> to put that product into the basket of that user. How?

You can store products into the basket:

$TSFE->fe_user->setKey('ses','basketExt',$this->basketExt);

See the file model/class.tx_ttproducts_basket.php.


- Franz


More information about the TYPO3-project-tt-products mailing list