[TYPO3-commerce] move order mail - hook
Michiel Roos
michiel at netcreators.com
Fri Oct 12 11:34:15 CEST 2007
Peter Waechtler wrote:
> hi michiel,
>
> thanks for the tip - just a question on the second hook - the directory
> it is referencing to does not exist. should it not rather be:
>
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/hooks/class.tx_commerce_ordermailhooks.php']['generateMail']
>
>
> or am i not understanding something here?
Oops,
Well . . .
Nice catch . . .
I grepped through the complete commerce code to get a list of all the
things that look like or actually are a hook. Then I created an
extension 'nc_commerce_hookinspector' to see when what hooks are called.
The hook in the code does indeed point to a class file that is nowhere
to be found in commerce:
find ./ -name class.tx_commerce_moveordermail.php
So it looks like there is an extension that has never been seen out in
the wild called: commerce_ordermails
I hope that this extension will be released soon by the commerce team.
Either that or they should remove this hook from code altogether. Since
it does (as it apears) confuse us.
:-)
Kind regards,
Michiel Roos
--
Netcreators BV :: creation and innovation
www.netcreators.com
Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/
More information about the TYPO3-project-commerce
mailing list