How to add a condition to a conditional payments rule

Adding conditions to a Conditional Payments Rule allows you to define specific scenarios for enabling or disabling payment methods. Here’s how to do it:

  1. Locate the Conditions Section

    Scroll to the Conditions row, where you’ll find three fields:

    • Condition: Select the condition type (e.g., product, cart subtotal, user role, etc.).
    • Operator: Define how the condition will be evaluated (e.g., equals to, greater than, etc.).
    • Value: Enter the matching criteria (e.g., UK, $200).
  2. Add Multiple Conditions

    Use the "+Add Condition" button to add more rules. You can add as many as needed, combining them for complex scenarios.


    Admin: Configure different conditions for rule
  3. Extensive Condition Options

    The plugin offers over 30+ condition types grouped into categories:

    • Product-Based: Product in the cart, categories, quantities, etc.
    • Cart-Based: Subtotal, weight, coupons applied, etc.
    • Shipping-Based: Shipping method-based rule.
    • Customer-Based: User roles, login status, etc.
    • Billing/Shipping Address-Based: Country, city, postcode, name, etc.
    • Time-Based: Day of the week, date, etc.


      Admin: Available conditions for payment rule

This wide range of conditions ensures flexibility to create almost any rule your business requires.

Examples:

Example 1: Restrict a payment method for customers in the UK.

Admin: configure condition for specific country

Example 2: Apply a rule specifically for the product "Frankie Sweatshirt".

Admin: configure condition for specific product

Example 3: Define a condition for carts containing five or more quantities of products.

Admin: configure condition for cart quantity
Admin: Checkout page with disabled COD payment method

With this setup, you can create highly customizable rules tailored to your store’s unique needs.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.