Skip to navigation Skip to main content
Free on WordPress.org 4.9 / 5 WordPress.org Explore both Plugins
Free on WordPress.org 4.9 / 5 WordPress.org Explore both Plugins
  • WordPress
    Products
    Smart Cycle DiscountsDiscount automation › TrustLensCustomer trust intel › Cycle AI AIPlain-English campaigns ›
    New pluginComing soon
    Resources & toolsDocs, pricing, support ›
    Smart Cycle Discounts

    Smart Cycle Discounts

    Automate WooCommerce discount campaigns — schedule, target, and measure.

    62%
    Free Pro $59 5 discount types Recurring
    Jump into the page
    How it works Capabilities Promo codes Pricing
    Docs
    Getting started Discount types Scheduling
    Explore Smart Cycle Discounts → Changelog
    TrustLens

    TrustLens

    Customer trust intelligence — score buyers, spot abuse, protect revenue.

    Trust 86
    Free Pro $79 6 segments Abuse detection
    Jump into the page
    How it works Detection Outcomes Pricing
    Docs
    Trust scoring Detection modules Card-testing defense
    Explore TrustLens → Verify a report Changelog

    Cycle AI inside Smart Cycle Discounts

    Describe a sale in plain English — Cycle AI builds the whole campaign.

    “20% off hoodies this weekend”
    Included in Pro Natural language Catalog-aware
    See it work

    Type a sentence, get a ready-to-launch discount campaign that already understands your products, prices, and schedule.

    Live demo How it works
    Meet Cycle AI →

    A new plugin Coming soon

    Something is loading in the lab. Join the list to get the reveal first.

    Notify me on launch →

    Resources & tools

    Everything around the plugins — docs, free tools, and help.

    Learn
    Documentation Pricing & bundle Support
    Free tools
    Discount Calculator Sale Calendar
    Stay current
    SCD changelog TrustLens changelog
    Compare all plans →
    Secure checkout WordPress.org 14-day refund View pricing →
  • Affiliate
    Program
    OverviewHow the program works How it works4 steps from apply to earn Commission details30% · 60-day cookie · recurring
    Get started
    Apply nowOpen Takes ~2 minutes Earnings calculatorEstimate your monthly income FAQPayouts, cookies, renewals
    Resources
    Brand kitLogos, banners, copy, social PlaybookTactics that actually convert FTC disclosureHow to disclose properly Affiliate termsFull program agreement Contact teamOpen the contact form
    Earn 30% recurring on every saleFree to join · 60-day cookie · monthly PayPal payouts Apply now
  • Blog
  • DOCS
    Docs & resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle DiscountsAutomated WooCommerce discount campaigns
    Getting started› Discount types› Cycle AI›
    TrustLensCustomer trust & fraud intelligence
    Trust scoring› Detection modules› Card-testing defense›
    Docs home Guides FAQ Pricing Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We make WordPress tools that solve real problems.

    Learn more
    Built from experienceTools we use ourselves
    Time is preciousSimple, intuitive UX
    Real supportTalk to the founders
    Legal & contact
    Contact us Privacy policy Terms of service Refund policy
    14-day money-backNo questions asked
Popular requests
  • smart cycle discounts
  • trustlens
  • chargeback protection
GET STARTED

Glossary

1
  • TrustLens Glossary

Detection Modules

9
  • Card Testing Defense
  • Chargeback Tracking
  • Shipping Anomalies
  • Linked Accounts Detection
  • Category Aware Risk
  • Coupon Abuse Detection
  • Order Pattern Analysis
  • Return Abuse Detection
  • Modules Overview

Card Testing Defense

9
  • Attack History
  • Allowlists
  • Geo Diversity
  • Auto Escalation
  • Fingerprinting
  • VIP Bypass
  • Panic Button
  • Velocity Thresholds
  • Overview

Chargeback Monitor

7
  • Ratio Email Alerts
  • Dispute Evidence Report
  • Chargeback Monitor
  • Manual Dispute Entry
  • Stripe WooPayments Ingestion
  • Card Network Thresholds
  • Chargeback Ratio Speedometer

Customer Management

7
  • Admin Notes
  • Checkout Enforcement
  • Order Trust Column
  • Bulk Actions
  • Blocking and Allowlisting
  • Customer Detail Profile
  • Customer List

Automation

7
  • Async Dispatch Retries
  • Webhooks and HMAC
  • Rule Inspector
  • Actions Reference
  • Conditions Reference
  • Triggers Reference
  • Automation Overview

Trust Scoring

5
  • Account Age Loyalty Bonus
  • Signals Explained
  • Six Customer Segments
  • The 0–100 Score
  • How Trust Scoring Works
View Categories
  • Home
  • Docs
  • Trustlens
  • Automation
  • Conditions Reference

Conditions Reference

2 min read

Conditions are the filters that determine whether a rule’s actions fire. Each condition is a comparison against a field — typically a customer attribute or an order property. Conditions combine with AND logic; all must be true for the rule to act. This page lists all 22 condition fields available (16 customer-level and 6 order-only), the comparison operators they support, and example expressions.

The 6 order-only fields can only be used with an order-bearing trigger (order_placed, order_completed, refund_processed, or dispute_recorded), because those are the only triggers that carry an order context.


Anatomy of a Condition #

A condition has three parts:

  1. Field — what to compare. E.g. trust_score, order_total, segment
  2. Operator — how to compare. One of <, <=, =, !=, >=, >
  3. Value — what to compare against. E.g. 30, "vip", "US"

Example: trust_score < 30 — true when the customer’s score is below 30.


Customer Fields #

These 16 fields are available with every trigger.

Field Type Operators
trust_score integer 0–100 <, <=, =, !=, >=, >
segment enum (vip / trusted / normal / caution / risk / critical) =, !=
return_rate decimal 0–100 <, <=, =, !=, >=, >
customer_type enum (new / returning) =, !=
total_orders integer <, <=, =, !=, >=, >
total_order_value decimal <, <=, =, !=, >=, >
cancelled_orders integer <, <=, =, !=, >=, >
total_refunds integer <, <=, =, !=, >=, >
total_refund_value decimal <, <=, =, !=, >=, >
coupon_then_refund integer <, <=, =, !=, >=, >
total_disputes integer <, <=, =, !=, >=, >
linked_accounts integer <, <=, =, !=, >=, >
is_first_order boolean (true only when total_orders equals exactly 1) =, !=
is_blocked boolean =, !=
customer_age_days integer <, <=, =, !=, >=, >
days_since_last_order integer <, <=, =, !=, >=, >

Order Fields #

These 6 order-only fields require an order-bearing trigger (order_placed, order_completed, refund_processed, or dispute_recorded). They aren’t available with customer- or detection-level triggers, which carry no order context.

Field Type Operators
order_total decimal <, <=, =, !=, >=, >
coupon_total decimal <, <=, =, !=, >=, >
payment_method string (stripe / paypal / etc.) =, !=
shipping_country string (ISO-2) =, !=
billing_country string (ISO-2) =, !=
country_mismatch boolean =, !=

Operators in Detail #

Comparison Operators #

<, <=, =, !=, >=, > — the full operator set. == is accepted as an alias for =, and <> as an alias for !=. They work on numeric and string fields.

Enum and String Fields #

Enum and string fields (such as segment, customer_type, payment_method, and the country fields) use = and !=. To match several values, create one rule per value with the same actions.

Boolean #

Use = or !=. Example: is_blocked = false.


Multi-Condition Logic #

Conditions combine with AND only — all must be true for the rule to act. There’s no OR or grouped boolean logic at the rule level.

To express OR logic, create multiple rules with the same actions. Example: “block if score < 30 OR if disputes ≥ 2” becomes two rules, each with one condition, both with the same Block action.


Example Condition Sets #

Intent Conditions
“Critical customer placing high-value order” segment = critical AND order_total > 500
“Risk customer using international shipping” segment = risk AND country_mismatch = true
“Customer at dispute threshold” total_disputes >= 2
“New customer with coupon-then-refund abuse” is_first_order = true AND coupon_then_refund >= 2
“Customer linked to several other accounts” linked_accounts >= 3
“VIP placing a large order” segment = vip AND order_total > 1000

The Save-Time Validator and Conditions #

When you save a rule with conditions, the validator checks:

  • Each field is valid for the rule’s trigger context
  • Each operator is valid for the field’s type
  • The combined conditions are satisfiable (no contradictions like trust_score > 80 AND trust_score < 20)
  • The rule has at least one condition (or is explicitly marked “no conditions — fire on every trigger event”)

Invalid rules fail to save with a specific error message.


Performance #

Conditions evaluate against in-memory data — the trigger context plus the customer record (already fetched for the trigger event). Each condition is sub-millisecond. Even rules with 10+ conditions evaluate in under 10ms.

The engine is bound by trigger volume, not condition complexity.

Updated on June 18, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Actions ReferenceTriggers Reference
Table of Contents
  • Anatomy of a Condition
  • Customer Fields
  • Order Fields
  • Operators in Detail
    • Comparison Operators
    • Enum and String Fields
    • Boolean
  • Multi-Condition Logic
  • Example Condition Sets
  • The Save-Time Validator and Conditions
  • Performance
Newsletter

Insights that grow your business

Join thousands of WooCommerce store owners who get actionable tips, plugin updates, and industry news every week — plus 10% off either of our plugins as a welcome.

We respect your privacy. Unsubscribe at any time.

10% off welcome gift — A code for either plugin, on us
Weekly updates — Fresh content every Tuesday
Exclusive content — Tips you won't find on our blog
Early access — Be first to know about new plugins
Webstepper
Weekly WooCommerce Tips
Just now
This week: 5 proven strategies to boost your average order value using smart discount campaigns...
10% off inside
Webstepper

Tools for store owners who'd rather grow than grind.

Simple, powerful plugins that help WooCommerce store owners sell more — without the learning curve.

Products

  • Smart Cycle Discounts
  • TrustLens
  • Discount Calculator
  • Sale Calendar

Company

  • About Us
  • Blog
  • Contact
  • Affiliates
  • Log In

Resources

  • Help Center
  • Guides
  • Verify a report
  • Affiliate Program
  • Become a Partner

Questions? We actually answer.

Real humans, real help. No bots, no runaround. Usually within a few hours.

Get in touch
Operated by Setmood LLC · 7901 4th St N, St Petersburg, FL 33702 · United States

© 2026 Webstepper. All rights reserved.

Privacy Terms Refunds
Visa Mastercard PayPal Apple Pay Google Pay & more
Limited Time Offer

Get 10% off
Smart Cycle Discounts or TrustLens

Drop your email and we’ll send you a unique, single-use code — works on either plugin at checkout. New customers, first payment.

23 hours
:
59 minutes
:
59 seconds

No spam. Unsubscribe anytime.

  • WordPress
    Back
    Products
    Smart Cycle DiscountsDiscount automation › TrustLensCustomer trust intel › Cycle AI AIPlain-English campaigns ›
    New pluginComing soon
    Resources & toolsDocs, pricing, support ›
    Smart Cycle Discounts

    Smart Cycle Discounts

    Automate WooCommerce discount campaigns — schedule, target, and measure.

    62%
    Free Pro $59 5 discount types Recurring
    Jump into the page
    How it works Capabilities Promo codes Pricing
    Docs
    Getting started Discount types Scheduling
    Explore Smart Cycle Discounts → Changelog
    TrustLens

    TrustLens

    Customer trust intelligence — score buyers, spot abuse, protect revenue.

    Trust 86
    Free Pro $79 6 segments Abuse detection
    Jump into the page
    How it works Detection Outcomes Pricing
    Docs
    Trust scoring Detection modules Card-testing defense
    Explore TrustLens → Verify a report Changelog

    Cycle AI inside Smart Cycle Discounts

    Describe a sale in plain English — Cycle AI builds the whole campaign.

    “20% off hoodies this weekend”
    Included in Pro Natural language Catalog-aware
    See it work

    Type a sentence, get a ready-to-launch discount campaign that already understands your products, prices, and schedule.

    Live demo How it works
    Meet Cycle AI →

    A new plugin Coming soon

    Something is loading in the lab. Join the list to get the reveal first.

    Notify me on launch →

    Resources & tools

    Everything around the plugins — docs, free tools, and help.

    Learn
    Documentation Pricing & bundle Support
    Free tools
    Discount Calculator Sale Calendar
    Stay current
    SCD changelog TrustLens changelog
    Compare all plans →
    Secure checkout WordPress.org 14-day refund View pricing →
  • Affiliate
    Back
    Program
    OverviewHow the program works How it works4 steps from apply to earn Commission details30% · 60-day cookie · recurring
    Get started
    Apply nowOpen Takes ~2 minutes Earnings calculatorEstimate your monthly income FAQPayouts, cookies, renewals
    Resources
    Brand kitLogos, banners, copy, social PlaybookTactics that actually convert FTC disclosureHow to disclose properly Affiliate termsFull program agreement Contact teamOpen the contact form
    Earn 30% recurring on every saleFree to join · 60-day cookie · monthly PayPal payouts Apply now
  • Blog
  • DOCS
    Back
    Docs & resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle DiscountsAutomated WooCommerce discount campaigns
    Getting started› Discount types› Cycle AI›
    TrustLensCustomer trust & fraud intelligence
    Trust scoring› Detection modules› Card-testing defense›
    Docs home Guides FAQ Pricing Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Back
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We make WordPress tools that solve real problems.

    Learn more
    Built from experienceTools we use ourselves
    Time is preciousSimple, intuitive UX
    Real supportTalk to the founders
    Legal & contact
    Contact us Privacy policy Terms of service Refund policy
    14-day money-backNo questions asked
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.
More info More info Accept