[Typo3-shop] argument 4 for includehandlescript()

Franz Holzinger franz at fholzinger.com
Wed Nov 16 07:48:32 CET 2005


Hello Peer,

> whenever I'm trying to use an handleScript for my payment method, I'm 
> getting this error:
> 
> Warning: Missing argument 3 for includehandlescript() in 
> /htdocs/t3/typo3/ext/tt_products/lib/class.tx_ttproducts_pricecalc_div.php 
> on line 55
> 
> Warning: Missing argument 4 for includehandlescript() in 
> /htdocs/t3/typo3/ext/tt_products/lib/class.tx_ttproducts_pricecalc_div.php 
> on line 55

In tt_products/lib/class.tx_ttproducts_basket.php you have to change the 
  2 lines from
$content = 
tx_ttproducts_pricecalc_div::includeHandleScript($handleScript,$this->basketExtra['payment.']['handleScript.']);

into

$content.= 
tx_ttproducts_pricecalc_div::includeHandleScript($handleScript,$this->pibase,$this->basketExtra['payment.']['handleScript.'],$this);


Franz




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