filters the validity test on an order.

add_filter( 'shopp_valid_order', [callback] )

@param bool $valid true if the order is valid, otherwise false


filters the validity test on an order.

The validation test checks for stock on the items, customer name and email, and complete shipping address (when applicable).


// register filter callback
add_filter('shopp_valid_order', 'shopp_valid_order_filter');

// create filter function
function shopp_valid_order_filter( $valid ) {
    // cause order to always validate
    return true;

See Also

You must be logged in to post a comment.

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