WPC Conditional Shipping & Payments for WooCommerce

Wpccc 772x250

WPC Conditional Shipping & Payments is a powerful extension for WooCommerce that allows you to easily restrict shipping methods and payment gateways based on a wide range of conditions.

By creating customized rules, you gain complete control over your checkout process. Whether you want to offer free shipping only for VIP customers, disable Cash on Delivery for specific postal codes, or hide specific payment gateways for heavy items, this plugin provides the precise logic you need.

Key Features

  • Restrict shipping methods and payment gateways based on conditions
  • Supports negative logic (e.g., "Only allow" by restricting when condition is NOT met)
  • Cart conditions: Subtotal, total amount, quantity, weight, different products count
  • Product conditions: Specific products, categories, tags, shipping classes
  • Customer conditions: Order count, total spent, user role, email address
  • Geographic conditions: Billing/Shipping country, state, postcode, and IP-based Geo-location auto-detect
  • Other conditions: Applied coupons, chosen shipping method (for payment rules)
  • Time-based rules: Restrict methods during specific time frames
  • Custom notices: Display informative messages to customers when a method is restricted
  • Rule Simulator: Test your rules directly in the backend without placing test orders
  • Import/Export: Easily migrate rules between staging and production via JSON
  • Analytics Tracking: Track rule hits over 7 days directly in the dashboard
  • High-Performance: Native caching and extensible Condition Engine architecture
  • Modern UI: Clean, card-based interface with accordion menus and quick actions
  • Translation ready

โš™๏ธ Powerful Condition Engine

The plugin is powered by a highly extensible Condition Engine that evaluates complex logic instantly.

Versatile Condition Sets

  • Mix and match multiple conditions using AND (All must match) or OR (Any can match) relations.
  • Utilize advanced comparison operators: Equal, Not Equal, Greater/Less Than, Multiple Of.
  • Support for Wildcard and Tags: Easily input multiple states, postcodes, or email domains using tags and wildcards.

Time-based Restrictions
Define specific date/time windows for your restrictions. Hide expedited shipping options on weekends, or disable specific payment gateways during system maintenance hours.

๐ŸŒ Advanced Geographic & Customer Targeting

Deliver highly targeted checkout experiences based on who your customer is and where they are located.

  • Customer History: Reward loyal customers by unlocking VIP shipping methods based on their past Order Count or Total Spent.
  • IP Geo-location: Automatically detect a customer's country based on their IP address before they even fill out the billing form.
  • Granular Filtering: Target highly specific areas down to the state or postcode level.

๐Ÿงช Built-in Rule Simulator

Stop wasting time placing test orders on the frontend just to see if your rules work.

The built-in Rule Simulator lets you mock a checkout scenario directly within the admin dashboard. Simply input a test Cart Total, select a User Role, add specific Products, or apply a Coupon Code, and the simulator will instantly show you which Shipping Methods and Payment Gateways would be restricted under those exact conditions.

๐Ÿ“Š Analytics & Rule Management

Manage your conditional logic with an enterprise-grade interface.

  • Rule Analytics: Header badges automatically track and display 7-day performance data, showing you exactly how many times each rule has been triggered.
  • Import/Export Utility: A robust JSON-based import/export system makes it effortless to back up your rules or move complex logic from a staging environment to your live site.
  • Sleek UI/UX: Enjoy a modern, card-based interface. Rules auto-collapse for better visibility, and actions are represented by clean SVG icons with intuitive tooltips.

๐Ÿ’ก Common Use Cases

Below are real-world scenarios store owners commonly solve with this plugin.

Shipping Rules

1. Free shipping only for orders above a threshold
Restrict all paid shipping methods when the cart subtotal is greater than $50, effectively leaving only Free Shipping available. Combine with a custom notice: "๐ŸŽ‰ You qualify for free shipping!"

2. Disable flat rate shipping for heavy or bulky items
Restrict Flat Rate shipping when the cart weight is greater than 30 kg, ensuring customers must use freight or local pickup for oversized orders.

3. Hide shipping methods for specific product categories
Restrict Express Shipping when the cart contains products from the "Digital Downloads" or "Gift Cards" category โ€” these don't need physical delivery.

4. Force local pickup for certain shipping classes
Restrict all shipping methods except Local Pickup when the cart contains items with the "Oversized" or "Fragile" shipping class.

5. Block international shipping for restricted products
Restrict all international shipping methods when the cart contains specific products that cannot be exported (e.g., regulated goods, hazardous materials).

6. Offer expedited shipping only for small orders
Restrict "Next Day Delivery" when the cart item count is greater than 5 or the cart weight exceeds 10 kg.

Payment Rules

7. Disable Cash on Delivery for high-value orders
Restrict the COD payment gateway when the cart total is greater than $500 to reduce financial risk on large orders.

8. Restrict bank transfer for specific product categories
Restrict "Direct Bank Transfer" (BACS) when the cart contains products from the "Subscription" category, forcing customers to use a recurring-capable gateway like Stripe.

9. Hide PayPal for wholesale customers
Restrict PayPal when the user role is "wholesale_customer", leaving only Bank Transfer or custom invoicing gateways visible.

10. Disable COD when customer chooses express shipping
Restrict Cash on Delivery when the chosen shipping method is "Express Delivery" โ€” ensuring prepayment for premium fulfillment.

11. Only allow specific gateways for coupon-based orders
Restrict Credit Card gateways when a specific coupon (e.g., "PAYPAL-ONLY") is applied, steering promotional campaigns to a preferred payment provider.

Geographic Targeting

12. Restrict COD to domestic orders only
Restrict Cash on Delivery when the billing country is NOT equal to your home country. This ensures COD is only available for local customers.

13. Disable specific shipping methods for remote postcodes
Restrict "Standard Shipping" when the shipping postcode matches remote area patterns (e.g., 89*, 96*) using wildcard support.

14. Region-specific payment gateways
Restrict a local payment gateway (e.g., MoMo, ZaloPay) when the IP Geo-location country is NOT equal to Vietnam. This hides irrelevant gateways for international visitors.

15. State-level shipping restrictions
Restrict "Same Day Delivery" when the shipping state is NOT equal to your warehouse states (e.g., California, New York), so the option only appears where you can fulfill it.

Customer Loyalty & Role-based

16. Unlock premium shipping for VIP customers
Restrict "Priority Shipping" when the customer's total spent is less than $1,000. Loyal, high-value customers automatically gain access to exclusive delivery options.

17. Restrict invoice payments to trusted buyers
Restrict the "Invoice / Purchase Order" gateway when the customer's order count is less than 5. Only repeat customers who have proven reliability can pay on account.

18. Guest checkout payment restrictions
Restrict "Direct Bank Transfer" when the user role is "Guest" โ€” requiring account creation for manual payment methods to reduce fraud risk.

19. Wholesale-only shipping rates
Restrict "Wholesale Flat Rate" shipping when the user role is NOT equal to "wholesale_customer", keeping B2B pricing hidden from retail shoppers.

Time-based Restrictions

20. Disable next-day shipping on weekends
Restrict "Next Day Delivery" on every Saturday and Sunday, since your warehouse doesn't process weekend orders.

21. Seasonal shipping blackouts
Restrict all expedited shipping methods during holiday peak periods (e.g., December 20 โ€“ January 5) when carriers cannot guarantee delivery times.

22. Maintenance window for payment gateways
Restrict a specific payment gateway during a scheduled maintenance time range (e.g., every Tuesday from 02:00 to 06:00 AM).

23. Flash sale payment steering
Restrict all gateways except your lowest-fee processor during a specific date range to maximize margin during high-volume promotional events.

Combining Multiple Conditions

Most powerful use cases combine conditions using AND/OR logic:

  • "Free shipping for VIP customers in the US" โ€” Combine: User Role = VIP AND Shipping Country = US AND Cart Subtotal > $100.
  • "COD only for small domestic orders from repeat customers" โ€” Combine: Billing Country = your country AND Cart Total < $200 AND Order Count > 3.
  • "Block express shipping for heavy international orders" โ€” Combine: Cart Weight > 20 kg AND Shipping Country โ‰  your country.
Purchase a License
NEW

Onetime purchase - Lifetime update
1-year premium support
7-Day Money-Back Guarantee

After successful payment, the installation file will be immediately sent to your purchase email.

If you have any pre-sale questions, feel free to browse the FAQs or contact us.

Version:1.0.0
Require:WP 4.0, Woo 3.0
Compatible:WP 6.9, Woo 10.7
Last updated:May 16, 2026