shopp_last_order()

retrieve the most recent order

shopp_last_order ()

@return Purchase object or false on failure

Description

retrieve the most recent order

Example

// Set the global Purchase object to the last order
ShoppPurchase( shopp_last_order() );

// locate and load receipt.php template
// locate_shopp_template ($template_names, $load = false, $require_once = true )
locate_shopp_template ('receipt.php', true, false );

See Also

You must be logged in to post a comment.

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

Skip to toolbar