[TYPO3-shop] One product depending on another product
Franz Holzinger
franz at fholzinger.com
Thu Aug 9 08:09:12 CEST 2007
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
More information about the TYPO3-project-tt-products
mailing list