shop:onCustomerUpdated event
The shop:onCustomerUpdated event is triggered after a customer object has been updated. The event handler should accept a single parameter - the customer object (Shop_Customer).
Event handler example:
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onCustomerUpdated', $this, 'customer_updated');
}
public function customer_updated($customer)
{
if ($customer->fetched['first_name'] != $customer->first_name)
{
// Do something
}
}
Next: shop:onRegisterProductSearchEvent event
Previous: shop:onExtendOrderPreviewTabs event
Return to Handling LemonStand events

