Each User Class can have a set of conditions that, when all match, promote the customer into that class. Supported conditions:
order_count— number of completed orderstotal_spent— lifetime spendregistration_date— account agelast_order_date— recency of most recent order
Supported operators: gte (≥), lte (≤), eq (=), and between (range).
Multiple conditions on the same class are combined with AND. Example: “Promote to Gold when order_count gte 5 AND total_spent gte 500.”
Assignment runs twice:
- Real-time — evaluated when an order completes, so a qualifying customer is promoted immediately
- Daily — a WP-Cron job (
rvp_recheck_user_classes) processes customers in batches of 100 to catch any who slipped through