[TYPO3-commerce] extend mail templates

Franz Koch typo.removeformessage at fx-graefix.de
Thu Nov 8 13:32:46 CET 2007


Hi,

> I'm wondering if and how one could add additional data to the order 
> email templates.

Use a hook:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/pi3/class.tx_commerce_pi3.php']['generateMail'][] 
= 'your_class_name';

> What I am missing are markers to include the order date and time and the 
> website name, plugin.tx_commerce_lib.defEmailSendername or URL.

see the hook

> Also, some of the customers have a costumers number from orders made by 
> postal mail or telephone.
> I would like to provide the possibility that customers having a 
> costumers number can add them to the system during registration process.
> And then of course I'd need a marker in the email templates and a way to 
> include these customers number to each order mail.

see the hook. For registration I use sr_feuser_register.

> Somebody was confronted with this kind of problem already and found a 
> solution?

yes, using this hook ;)

--
Greetings,
Franz


More information about the TYPO3-project-commerce mailing list