跳到内容

CartMend Conditional Payments for WooCommerce – Hide Payment Methods by Country & Cart Total

v1.1.5

CartMend · 2026年8月7日 上架

Hide or show WooCommerce payment methods by billing country and cart subtotal. Unlimited AND/OR rules, no code, classic and block checkout.

正在使用
10 以下
评分
暂无
累计下载
383
最近更新
2026年11月14日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

截图

The rules screen — manage any number of rules, each with its own gateway, action, and conditions, from one place.
The rules screen — manage any number of rules, each with its own gateway, action, and conditions, from one place.
Adding a rule — gateway dropdown and condition (Billing Country) with a country multiselect.
Adding a rule — gateway dropdown and condition (Billing Country) with a country multiselect.

CartMend Conditional Payments hides or shows WooCommerce payment methods (payment gateways) at checkout based on the customer’s billing country and the cart subtotal. Create as many rules as you need, without code. It works on the classic shortcode checkout, the block checkout and the order-pay page, and adds no JavaScript or jQuery to your storefront.

Common uses:

  • Hide Cash on Delivery for orders over a certain amount (fewer unpaid COD orders).
  • Disable PayPal, Stripe or any other payment method for some countries.
  • Show a payment method only in one country or a list of countries.
  • Offer Bank Transfer only for large orders.

How it works

  1. Go to WooCommerce Settings Payment Rules and add a rule.
  2. Choose the payment method the rule applies to.
  3. Choose the action when the conditions match: Hide this payment method, or Show only this payment method (all others are hidden).
  4. Add one or more conditions — billing country and/or cart subtotal — and choose if ALL must match (AND) or ANY (OR).
  5. Save. At checkout, the payment methods update by your rules. Log in as admin to see a debug note that explains which rule matched.

Features

  • Unlimited rules, each targeting one payment gateway.
  • Action per rule: Hide or Show only.
  • Multiple conditions per rule with AND/OR logic.
  • Billing country condition: is in / is not in a list of countries.
  • Cart subtotal condition: greater than / less than / equal to / between.
  • Enable/disable toggle per rule.
  • Admin-only debug notice at checkout that shows which rule matched and why.
  • Works on classic checkout, block checkout and the order-pay page.
  • Works with any active gateway: Cash on Delivery, Bank Transfer, Cheque, Stripe, PayPal, WooPayments and third-party gateways.
  • HPOS (High-Performance Order Storage) compatible.
  • Lightweight: no frontend JavaScript, no jQuery, no telemetry.

Need help setting it up? https://cartmend.com/setup.html

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums