Shop, PHP, $order and parameters

Shop, PHP, $order and parameters

Friday 11 June 2010 2:32:03 am - 1 reply

Author Message

laurent le cadet

Friday 11 June 2010 6:50:42 am

Answering to myself :

$http = eZHTTPTool::instance();
$orderID = $http->sessionVariable( 'MyTemporaryOrderID' );
$order = eZOrder::fetch( $orderID );
$items = $order->productItems();
$count = count( $items );

This do the job.

Hope this help

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.