WC_Cart::needs_payment PHP Method

needs_payment() public method

Looks at the totals to see if payment is actually required.
public needs_payment ( ) : boolean
return boolean
    public function needs_payment()
    {
        return apply_filters('woocommerce_cart_needs_payment', $this->total > 0, $this);
    }
WC_Cart