filters the free order status.

add_filter( 'shopp_free_order', [callback] )

@param bool $isfree true if the total cost of the contents of the order add up to 0


filters the free order status.


// register filter callback
add_filter('shopp_free_order', 'shopp_free_order_filter');

// create filter function
function shopp_free_order_filter( $isfree ) {
    // prevent free orders
    if ( $isfree ) return false;

    return $isfree;

See Also

You must be logged in to post a comment.

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