[TYPO3-shop] additional form in order process
Franz Holzinger
franz at ttproducts.de
Wed Apr 13 19:17:05 CEST 2011
Le 11/04/2011 13:02, Christian Tauscher a écrit :
> Does anyone already have a solution for this? AFAIK tt_products does not
> offer this by default.
> I am studying the source actualy, but It seems to me there is no
> suitable hook for this. Idea: Maybe the payment could be abused for
> this....???
>
There is already a hook in the basket view:
// Call all getBasketView hooks at the end of this method
if (is_array
($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][TT_PRODUCTS_EXTkey]['getBasketView']))
{
foreach
($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][TT_PRODUCTS_EXTkey]['getBasketView']
as $classRef) {-
$hookObj= &t3lib_div::getUserObj($classRef);
if (method_exists($hookObj, 'getMarkerArrays')) {
$hookObj->getMarkerArrays($this, $templateCode, $theCode,
$markerArray,$subpartArray,$wrappedSubpartArray, $mainMarkerArray, $count);
}
}
}
You can add your own subpart markers.
- Franz
More information about the TYPO3-project-tt-products
mailing list