[TYPO3-shop] How to add a product to the basket twice ?

Franz Holzinger franz at fholzinger.com
Mon Nov 24 22:47:13 CET 2008


Toke Herkild a écrit :
> Hi folks,
> 
> Anybody got an answer for this one ?
> 
> I need to beable to add the same product_uid to the basket twice or more 
> times in different configurations but the main problem remains that the 
> basket is indexed by "tt_product.uid"
> 
> I've been able to find reference to "basketExt" but will it be possible 
> to get a hold on an array in a level above ?

You can set the amount added to 2 by using Javascript in the shop 
template. Or you write a TYPO3 extension based on the hook changeBasket. 
You could easily change the amount in the $basketExtRaw from 1 to 2.

- Franz




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