Friday 11 June 2010 2:32:03 am
Hi,
I'm building a workflow event. I need to retrieve the number of items in the current user order. I found I can fetch the order but I don't know how to go further to count items of the order. Where I am :
$orderID = $http->sessionVariable( 'MyTemporaryOrderID' ); $order = eZOrder::fetch( $orderID ); Is there something like this ? $count = $order->attribute( 'OrderItems' ); Best regards. Laurent
|