[TYPO3-shop] One product depending on another product

Karsten kap at os.dk
Thu Aug 9 13:36:28 CEST 2007


Franz Holzinger skrev:
> Alexandre Martinez a écrit :
>> As there is no mechanism, as far as i know, to automatically add an item to the shopping
>> cart on selection of a certain item, the simplest way to achieve this
>> is to create a product that consists in the two items together. Any
>> better idea ?
> 
> You can use the hook changeBasket in
> model/class.tx_ttproducts_basket.php to change the basket when a product
> is entered in your own extension.
> 
> You can use product variants and articles for the additional elements of
> a product.
> 
> - Franz
> 
> 
> 
> 
> 
> 
Thanks Franz!


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