[TYPO3-shop] "Basket: content" actiong like "Products: list"
Chris Paige
chris at ready-set-go.biz
Tue Aug 8 05:03:37 CEST 2006
It could be useful for charities if the feature could be selected by
product. I'm thinking that it could be good to *always* have a donation box
show up on the basket form. Could also put some other promotional stuff,
like a t-shirt, such that it would always show up in the checkout basket.
But in this case, I would want only certain items to show up. Not
everything.
"Gabriel Engel" <gabriel.engel at gmail.com> wrote in message
news:mailman.1.1154733018.30392.typo3-project-tt-products at lists.netfielders.de...
> Any chance this changed could make to the next release?
> in "class.tx_ttproducts_basket.php" line 326:
>
> if (!$this->conf['keepNullQuantityProductsInBasket']) {
> $basketExtNew = array();
> reset($this->basketExt);
> while(list($tmpUid,$tmpSubArr)=each($this->basketExt)) {
> while(list($tmpExtVar,$tmpCount)=each($tmpSubArr)) {
> if ($tmpCount > 0) {
> $basketExtNew[$tmpUid][$tmpExtVar] = $tmpCount;
> }
> }
> }
> $this->basketExt = $basketExtNew;
> }
>
> Am I being crazy here? Seems to be harmless right?
> Does someone else find this useful some how?
>
> Gabriel Engel
>
More information about the TYPO3-project-tt-products
mailing list