shopp_set_order_data()

set an order data entry

shopp_set_order_data ( $order, $name, $value )

@param int $order the order id to which to set the order data entry
@param string $name the key/index of the order data entry
@param mixed $value the value to set to the order data
@return bool true on success, false on failure

Description

set an order data entry

Examples

// set "Terms and Conditions" entry to "accepted" on order 215
shopp_set_order_data( 215, 'Terms and Conditions', 'accepted');

See Also

You must be logged in to post a comment.

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

Skip to toolbar