[Typo3-shop] New feature suggestion: paymentActivity = customized
Jesper Weissglas
jesper at seventhwave.se
Wed Nov 30 20:43:06 CET 2005
It would make it easier to integrate payment like the one I just did if
there was an activity in the basket where all action is handled by the
handlescript. I belive(?) all it would take to create this is to add
something like the following before line 639 of
class.tx_ttproducts_basket.php:
------------------------------------
case 'products_customized':
$this->mapPersonIntoToDelivery();
$this->pibase->load_noLinkExtCobj(); // TODO
$handleScript =
$TSFE->tmpl->getFileName($this->basketExtra['payment.']['handleScript']);
$orderUid = $this->order->getBlankOrderUid();
if (trim($this->conf['paymentActivity'])=='customized' && $handleScript) {
$this->getCalculatedSums();
$content.=
tx_ttproducts_pricecalc_div::includeHandleScript($handleScript,$this->pibase,
$this->basketExtra['payment.']['handleScript.'], $this);
}
break;
-------------------------------------
Not sure what the first two call do, but anyway ;-)
/j
More information about the TYPO3-project-tt-products
mailing list