Howdy All,
Just a quick question regarding the procedural workaround code.
If the notification that I am watching for happens in /includes/modules/checkout_process.php
as
$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE');
Is it right to assume that I need to implement my observer class with the procedural:
rather than the OOP version:Code:global $zco_notifier; $zco_notifier->attach($this, array('NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE'));
I suppose I could just do a simple test to find out, but for the benefit of those reading, I'll go ahead and put it here in writing.Code:$this->attach($this, array('NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE'));


Reply With Quote
