get and set the global Collection object.

ShoppOrder ( &$Object )

@param ORder (optional) $Object the Order object to set to the global context.
@return mixed if the global Order context isn't set, boolean false will be returned, otherwise the global Order object will be returned


Get and set the global Order object responsible for controlling and managing the ordering process.


// Get the current shopping session order, if it exists
$Order = ShoppOrder();
// Set a new Order instance as the global instance and store it as a Shopping session object
$Order = ShoppOrder( ShoppingObject::__new( 'Order', ShoppOrder() ) )

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.