[TYPO3-commerce] $GLOBALS['TSFE']->set_no_cache() --> bad practice --> why using it?

Franz Koch typo.removeformessage at fx-graefix.de
Wed Aug 29 16:40:10 CEST 2007


Hi again,

> When modifying the class anyway, you could add the missing definition 
> for the marker '###BASKET_ITEMS###' which is set in the main basket but 
> not in the quickView. The marker doesn't provide the article list but 
> the item count of the basket:
> 
> -----
> $basketArray['###BASKET_ITEMS###'] = $this->basket->getItemsCount();
> -----

Sorry, just saw that the marker '###ITEMS###' is available for that in 
the quickView. I was just confused because there is exactly that marker 
'###BASKET_ITEMS###' in the regular basket view which holds also exactly 
this itemCount.

never mind,
Franz Koch


More information about the TYPO3-project-commerce mailing list