remove one or all order data entries

shopp_rmv_order_data ( $order, $name )

@param int $order the order id from which to remove the order data
@param string $name (optional default:false) the key/index of the order data entry to remove, false to remove all entries
@return bool true on success, false on failure


remove one or all order data entries


remove all order data entries

// remove all order data from order 25
shopp_rmv_order_data( 25 );

remove a specified order data entry

// remove order data with name "key" from order 26
shopp_rmv_order_data( 26, 'key' );

See Also

You must be logged in to post a comment.

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