• Hello,
    Is it possible to only offer the BACS payment option when the order has reached a set minimum order amount?
    Thank you.

    • This topic was modified 7 years, 8 months ago by dashlane2580.
Viewing 2 replies - 1 through 2 (of 2 total)
  • In functions.php:

    add_filter('woocommerce_available_payment_gateways', 'my_filter_gateways', 1);
     
    function my_filter_gateways($gateway_list)
    {
        if (WC()->cart->subtotal < 1000)
        {
            unset($gateway_list['bacs']);
        }
     
        return $gateway_list;
    }
    
    Thread Starter dashlane2580

    (@dashlane2580)

    That works great.

    Is there a way to do this with using WPML WooCommerce multi currency?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Payment method BACS only available on minimum order amount’ is closed to new replies.