shopp_ordering_empty_customer

filters the order validation failure on empty customer.

add_filter( 'shopp_ordering_empty_customer', [callback] )

@param bool $valid will be false if the order does not validate because the customer is empty.

Description

filters the order validation failure on empty customer.

Returning true from this filter will allow the order through processing, despite an empty customer record.

Example

// register filter callback
add_filter('shopp_ordering_empty_customer', 'shopp_ordering_empty_customer_filter');

// create filter function
function shopp_ordering_empty_customer_filter( $valid ) {
    // override failure
    return true;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar