eMail hook whenn making order - urgent
Posted: Tue Jul 12, 2022 1:25 pm
Hi all
i found a module n_checkout.php
as i need to add a special email from my newsletter provider, i see there is also a hook there: echo $GLOBALS['OSCOM_Hooks']->call('siteWide', 'orderMail', $parameters);
can i use it to hook a second email generation module? how i can get the parameter of the orders i need to process in the email? (orders_id, products he bought...)
thank you for the help!
i found a module n_checkout.php
as i need to add a special email from my newsletter provider, i see there is also a hook there: echo $GLOBALS['OSCOM_Hooks']->call('siteWide', 'orderMail', $parameters);
can i use it to hook a second email generation module? how i can get the parameter of the orders i need to process in the email? (orders_id, products he bought...)
thank you for the help!