Hi,Nicolas,
Thanks for your answer.
I have done written the plugin for onAfterOrderCreate().
The function is to maintain our remote system for the products stocks and the product quantity in every order.
But when it comes to update and delete order, I found there seem to have some problems, I am not sure if I understand correctly.
In updating, there is no products info in $order->old objects.
in deleting, the onAfterOrderUpdate() was triggered instead of onAfterOrderDelete(),
so my plugin could not get the required informaton from these two events. where else can I find product quantity changing information? or do you have any suggestion for the issue?
Best regards
Scott