WooCommerce – Hide Payment Method for Backorder Products

In WooCommerce, a backorder product is a product that is currently out of stock but still can be ordered because you’re producing it or your provider is bringing it to you in order to ship it when it’s available.

It can be really upsetting to receive orders and then have the orders canceled by the customer. Therefore, here we’ll show you how to hide or disable payment methods for backorder products.

We’ll easily do it with the WooCommerce Conditional Payment Gateways plugin. You can easily apply conditional restrictions to your payment gateways and get hundreds of benefits. Here are some examples:

  • Provide payment methods preferred by the customer based on the country
  • Don’t allow credit card payments when the customer is using a coupon
  • Don’t allow your business partners to pay with cash
  • Allow users to pay with a credit card to access bank financing for expensive products

Once you install and activate the plugin, follow these simple steps to disable a payment gateway for backorder products.

1- Add a new condition to your payment methods

First, you need to add a new condition to your payment methods. For that, you need to follow these simple steps:

  1. Go to WooCommerce > Conditional Payment Methods.
  2. Tick the Enable conditions checkbox.
  3. Click Add condition to create a new condition.

woocommerce hide payment methods backorder products

2- Hide payment method for backorder products

Now you can hide payment methods for backorder products. On the create condition form, you need to select the following values:

  • What happens when the conditions are met: Disable the payment method(s)
  • Select the payment methods: Select the payment methods you’ll disable. PayPal, for example.
    • If your gateway doesn’t appear, tick the My gateway doesn’t appear in the list checkbox and add the gateway.
  • Condition 1: Is on backorder = Yes
  • Publish the condition.

woocommerce hide payment methods backorder products

That’s really simple!

As we’ve shown you in this tutorial, it’s really simple to disable payment gateways for backorder WooCommerce products. You don’t have to program anything because WooCommerce Conditional Payment Gateways allows you to add conditional restrictions to your payment gateways with a few clicks.

Close Menu