The problem is : This line is in a "if" statement testing if order is temporary or not (= accepted or not) thus "checkout->after" is never triggered if the order has been accepted.
It looks like a serious misconception has its not possible in ezpublish to create a workflow to manage stock for example when an order is accepted.
EZP is Great
You must be logged in to post messages in this topic!