[TYPO3-commerce] Hook inserting article into basket?

Benny Schimmer bschimmer at cross-content.com
Thu Jun 16 14:50:05 CEST 2011


Hi Stephan,

in pi2 there is a hook for you,

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/pi2/class.tx_commerce_pi2.php']['artAddUid']

Hook Method:
$hookObj->preartAddUid($this->basket, $this);

HTH,

Benny

"Stephan Bauer" <stephan_bauer at gmx.de> schrieb im Newsbeitrag 
news:mailman.1.1308170681.5964.typo3-project-commerce at lists.typo3.org...
> Hello,
>
> is there a hook that I can use before inserting an article into the 
> basket? I would like to delete articles of a category dependig of an 
> article I'm trying to insert.
>
> I tried to use nc_commerce_hookinspector but it isn't working for me with 
> TYPO3 4.5 and devlog 2.9.
>
> Thanks in advance
>
> Regards
>
> Stephan 



More information about the TYPO3-project-commerce mailing list