WordPress plugin intelligence profile

CatCode Conditional Shipping and Payment Rules for WooCommerce

Show or hide WooCommerce shipping methods and payment gateways by customer role, country and cart total — on the classic and the block checkout.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update25 Sept 20261mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records CatCode Conditional Shipping and Payment Rules for WooCommerce version 1.0.1 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

WooCommerce shows every shipping method and every gateway that fits the zone. Real shops often need less than that: no cash on delivery for guests, free pickup only for wholesale accounts, no courier for small orders, a separate set of gateways for customers abroad.

This plugin turns that into rules you can read: hide (or keep only ) these shipping methods or these payment gateways when the cart in front of you looks like this.

Conditions

  • Customer role — including “guest” (anyone not logged in) and “any logged-in customer”.
  • Country — the shipping country, or the billing country in shops that do not ship.
  • Cart total — from / to, including or excluding tax, goods only or goods plus shipping (for payment rules).

Every filled-in condition has to hold. An empty condition is not a condition — it is simply not checked.

As many rules as you need

Rules run in priority order, lowest number first, and each one narrows what is left — a later rule cannot bring back a method an earlier one removed. Every rule can be switched off without deleting it.

Both checkouts, one decision

The classic checkout and the block checkout obey the same rules from the same PHP. Shipping rates are filtered where WooCommerce calculates them. For payment gateways the block checkout also asks on the client, and the answer it gets is the decision PHP already made and sent along with the cart, so a hidden gateway is refused by the Store API as well — it is not only hidden on screen.

The shipping-rate cache

WooCommerce caches the calculated rates in the session under a hash of the shipping package. The shopper’s role, the plugin settings and the rules themselves are not part of that package, so the plugin adds them as one extra key: the cache is refreshed exactly when the answer changes, and saving the rules refreshes it for every visitor.

Never a dead checkout

If the rules would remove every shipping method or every gateway, the full list is handed back instead and a line goes into the log. You can switch that guard off when “nothing available for this segment” is genuinely what you want.

Other details

  • Rules do not touch orders created by hand in wp-admin — they are about what a shopper may pick.
  • Optional log of every decision in WooCommerce → Status → Logs, source “ccsr”.
  • Compatible with High-Performance Order Storage (HPOS) and the Cart and Checkout blocks.
  • No external services, no tracking, nothing is sent anywhere.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • checkout
  • conditional
  • payment
  • shipping
  • woocommerce
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity25 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.