In this example, we block Check payments for the category Acme Tennis Balls.
- Go to WooCommerce > Settings > Payments > Conditions
- Click Add ruleset
- Enter Title, for example Block Check payments for Acme Tennis Balls
- Enter Conditions
Product Categories – include – Acme Tennis Balls - Enter Actions
Disable payment methods – Check payments - Click Save changes
Check payments will now be unavailable whenever there are products from the Acme Tennis Balls category in the cart.