Prestashop 8 hook after Guest to Customer conversion

40 Views Asked by At

in my module I use hookActionObjectCustomerUpdateAfter() it works fine only when customer create new account or update exisiting one, but not in case when user with GUEST account create account.

In that specific scennario after hookActionObjectCustomerUpdateAfter() is runing method CustomerPersister::update() from classes/form/CustomerPersister.php so some of my changes are overrided.

What is best option to run my code after changing guest to customer account?

0

There are 0 best solutions below