[TYPO3-shop] Fatal error

Franz Holzinger franz at fholzinger.com
Fri Dec 7 18:55:25 CET 2007


Karsten a écrit :
> 
> I am sorry, that didn't do the trick, but thanks for trying!
> 
> Franz do you have a solution to this?
> 
> Karsten P
> 
>>>>>
>>>>> Fatal error: Call to a member function getView() on a non-object in
>>>>> D:\www\shop\typo3conf\ext\tt_products\pi1\payment_kap.php on line 39
>>>>>
>>>>> The line is:
>>>>> $content=$this->basketView->getView($localTemplateCode,'PAYMENT',
>>>>> $tSubpart);        // This not only gets the output but also
>>>>> calculates the basket total, so it's NECESSARY!
>>>>>

You need a basket view object.

Under tt_products 2.6.0 you can get this with:

$basketView = &t3lib_div::getUserObj('tx_ttproducts_basket_view');

- Franz



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