[TYPO3-commerce] Hook inspector

Michiel Roos [netcreators] michiel at netcreators.com
Thu Sep 27 10:43:40 CEST 2007


Franz Koch wrote:
>> It gives some interesting results. On a page with a listing of only 
>> two articles the hook: article postinit is called 6 (six) times 
>> instead of an expected 2 (two) times.
> 
> And I can tell you why. Commerce also instantiates the basket on every 
> call, and the basket might contain basket_items which themselfs 
> instantiate the article they stand for inside of them.
Well,

I would expect 4 calls then, not 6.

Regards,


Michiel

-- 
Netcreators BV :: creation and innovation
www.netcreators.com

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/


More information about the TYPO3-project-commerce mailing list