
內容簡介
Conditional Payment Gateways for WooCommerce 外掛讓您能夠完全控制結帳時顯示的付款方式。透過設定無限的規則,您可以根據購物車狀況、運送地點、客戶狀態或購物車中的產品,精確決定何時隱藏某個付款方式。
【主要功能】
• 根據購物車總額隱藏付款方式
• 根據運送地點隱藏付款方式
• 根據使用的優惠券隱藏付款方式
• 支援無限規則設定
• 兼容 WooCommerce 高效能訂單儲存
外掛標籤
開發者團隊
② 後台搜尋「Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules」→ 直接安裝(推薦)
原文外掛簡介
Conditional Payment Gateways for WooCommerce gives you full control over which payment methods appear at checkout. Create unlimited rules and decide exactly when to hide a gateway — based on cart conditions, shipping destination, customer status, or products in the cart.
No PHP. No hooks. No developer needed.
Works seamlessly with the classic checkout and the WooCommerce Blocks checkout. HPOS compatible. Tested with the latest WordPress and WooCommerce versions.
Why hide payment gateways conditionally?
Not all payment gateways make sense for every order. A few common reasons store owners use this plugin:
Reduce transaction fees — hide expensive gateways for low-margin products
Prevent fraud — restrict Cash on Delivery for high-value orders
Improve checkout UX — fewer irrelevant options means fewer abandoned carts
Meet local requirements — show only gateways available in specific countries
Coupon restrictions — block gateways incompatible with specific promotions
Free features
Cart total – Hide gateways when the order total is above, below, or between values
Shipping destination – Hide by shipping country and state/province
Coupon applied – Hide when any coupon or a specific coupon code is used
User logged in – Hide for guests or for logged-in users
Product in cart – Hide when specific products are in the cart
Unlimited rules – Create as many rules as your store needs
Classic + Blocks checkout – Full support for both checkout types
Rule priority and enable/disable – Fine-grained control over rule order
Safe mode – Rules only hide gateways, never reveal hidden ones
HPOS compatible – Works with WooCommerce High-Performance Order Storage
Upgrade to Pro
The WooCommerce Conditional Payment Gateways Pro plugin unlocks 8 additional condition types for advanced checkout control:
Category in cart – Hide when products from selected categories are in the cart
Cart subtotal – Hide based on subtotal before shipping and taxes
Billing destination – Hide by billing country and state/province
Shipping method – Hide when a specific shipping method is selected
User role – Hide for selected WordPress user roles (wholesale, subscriber, etc.)
Product quantity in cart – Hide based on quantity of specific products
Date / time – Hide on selected days and/or within a time window
Currency – Hide when the store currency matches selected currencies
Debug logging – Log rule evaluation to WooCommerce logs for troubleshooting
Priority support – Get help directly from the developer
Upgrade to WooCommerce Conditional Payment Gateways Pro →
How it works
Go to WooCommerce → Conditional Payments
Click Add rule and choose a condition type (e.g. “Cart total”)
Set which payment gateways to hide when the condition matches
Save and test at checkout — no caching issues, no code changes needed
Example use cases
Hide PayPal for orders over $500 — encourage bank transfer for large purchases
Hide Cash on Delivery when the cart contains digital products
Hide all gateways except Stripe for customers outside your country
Show only local payment methods when a specific coupon is applied
Documentation
Full documentation →
