WooCommerce – Enable/Disable Payment Method for a Product Category

In this quick tutorial, we want to show you how easy it is to enable/disable a payment method for a product category in WooCommerce.

For example, this is really helpful if you have a category containing only high price products and want your customers to pay with bank transfers instead of using a credit card. Of course, this is just an example of the many situations in which you may need to enable/disable a payment method for a category.

Something important to mention is that we’re not using any codes. Instead, we’ll use the WooCommerce Conditional Payment Gateways plugin, so you need to install it and activate it.

Open WP Conditional Payment Gateways

This plugin helps you create conditions in which your payment methods will be enabled or disabled. Therefore, when you open the plugin, you’ll need to hit the Add condition button in order to create a new condition.

Enable a payment method for a specific category

To enable a payment method (PayPal for example) for a product category, you need to set these values in the plugin: