shopp_ordering_empty_shipping_address

filters the order validation failure on missing shipping address.

add_filter( 'shopp_ordering_empty_shipping_address', [callback] )

@param bool $valid will be false if the order does not validate because the shipping address is missing

Description

filters the order validation failure on missing shipping address.

Returning true from this filter will allow order processing, despite an empty shipping address.

Example

// register filter callback
add_filter('shopp_ordering_empty_shipping_address', 'shopp_ordering_empty_shipping_address_filter');

// create filter function
function shopp_ordering_empty_shipping_address_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