Functions:orderGetSummary

From Whirlwind eCommerce Wiki
Revision as of 23:01, 2 October 2008 by Root (Talk | contribs) (New page: == Description == Retrieves summary order information. Useful for perpetual shopping carts. == Syntax == $orderArr = eV::orderGetSummary([INT $orderId]); == Paramaters == *orderId INTEGE...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Retrieves summary order information. Useful for perpetual shopping carts.

Syntax

$orderArr = eV::orderGetSummary([INT $orderId]);

Paramaters

  • orderId INTEGER (optional)
unique order key of order information to retrieve. Defaults to the current sessions shopping cart's orderId.

Return Values

Returns associative array of summary order information. Return array is as follows:


Array
(
    [orderNumber] => INT
    [completeDate] => DATETIME
    [cancelDate] => DATETIME
    [itemTotal] => 
)

Element details from the returned array are as follows:

Examples

example 1

example 1 goes here

example 2

example 2 goes here

See Also