Friday 25 February 2011 3:59:01 am
Hello, When does "checkout-after" trigger is supposed to execute the workflow code ? When i try to add a workflow on that trigger its never executed. Is it in kernel/shop/checkout.php ? I identified that trigger "checkout->after" is only executed at this line in kernel/shop/checkout :
$operationResult = eZOperationHandler::execute( 'shop', 'checkout', array( 'order_id' => $orderID) ) ; 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
|