Rules Engine

Rules determine which products, users, pages, carts, and conditions should activate a campaign.

A campaign only runs when all configured rules are satisfied.


Product Rules

All Products

Apply campaign to every WooCommerce product.

Example

Show countdown timer on every product page.


Product Selection

Apply campaign only to selected products.

Example

Selected Products:

  • Product A
  • Product B
  • Product C

Campaign appears only on these products.


Product Category

Target products belonging to specific categories.

Operators

Matches Any Of

Campaign runs when product belongs to at least one selected category.

Example:

  • Clothing
  • Shoes

Product in Shoes category → Campaign runs.

Matches None Of

Campaign runs on products outside selected categories.

Matches All Of

Campaign runs only when product belongs to all selected categories.


Product Tag

Target products using WooCommerce product tags.

Example

Tag:

  • Summer Sale
  • Featured

Campaign appears only on tagged products.


Product Type

Target WooCommerce product types.

Supported Types:

  • Simple Products
  • Variable Products
  • Grouped Products
  • External / Affiliate Products

Example

Product Type = Variable Product

Campaign only appears on variable products.


Product Price

Target products based on price.

Operators

  • Equal To
  • Greater Than
  • Less Than
  • Greater Than Or Equal To
  • Less Than Or Equal To

Example

Price > 100

Campaign only runs on products priced above $100.


Stock Status

Target products based on inventory status.

Available Values:

  • In Stock
  • Out Of Stock

Example

Stock Status = In Stock

Campaign only runs on available products.


Date & Time Rules

Date Rule

Control campaign activation using specific dates.

Example

Start Date:
July 1

End Date:
July 31

Campaign only runs during July.


Time Rule

Control campaign activation using time ranges.

Example

Start Time:
09:00 AM

End Time:
05:00 PM

Campaign runs only during business hours.


Day Of Week Rule

Control campaign visibility on selected days.

Supported Days:

  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday

Example

Selected:

  • Friday
  • Saturday
  • Sunday

Campaign only runs on weekends.


Always Rule

Campaign remains active whenever other campaign requirements are met.

Useful for:

  • Evergreen promotions
  • Permanent banners
  • Long-term discounts

User Rules (Pro)

User Logged In

Target visitors based on login status.

Options

Yes

Only logged-in users see campaign.

No

Only guests see campaign.

Example

Show 10% member discount only to logged-in customers.


User Role

Target specific WordPress user roles.

Supported Examples:

  • Customer
  • Subscriber
  • Shop Manager
  • Administrator
  • Wholesale Customer

Operators

Matches Any Of

User must have at least one selected role.

Matches None Of

User cannot have any selected role.

Matches All Of

User must match all selected roles.

Example

Role = Wholesale Customer

Campaign only appears for wholesale buyers.


Cart Rules (Pro)

Cart Total

Target customers based on cart value.

Operators


  • <
  • =

  • =
  • <=

Example

Cart Total >= 100

Campaign activates when cart value reaches $100.


Cart Item Count

Target customers based on quantity of items in cart.

Example

Item Count >= 3

Campaign activates when customer adds 3 or more items.


Page Rules (Pro)

Page URL Contains

Target campaigns using URL conditions.

Operators

Contains

Campaign runs if URL contains specified text.

Does Not Contain

Campaign runs if URL does not contain specified text.

Example

Contains:
sale

Campaign appears on:

  • /summer-sale/
  • /sale-products/

Language Rule

Automatically integrates with multilingual plugins.

Supported Examples:

  • WPML
  • Polylang
  • Linguise
  • Other supported language systems

Operators

Matches Any Of

Campaign runs for selected languages.

Matches None Of

Campaign excludes selected languages.

Matches All Of

Campaign requires all selected language conditions.

Example

Language:
Spanish

Campaign only appears on Spanish pages.


Rule Logic Best Practices

Flash Sale

Rules:

  • Product Category = Clothing
  • Day = Friday
  • Time = 9AM–11PM

Result:
Only clothing products display the flash sale on Fridays.


VIP Discount

Rules:

  • User Logged In = Yes
  • User Role = Wholesale Customer
  • Cart Total > 200

Result:
Only wholesale customers with carts above $200 receive the campaign.


Multi-Language Promotion

Rules:

  • Language = Spanish
  • Product Category = Shoes

Result:
Campaign appears only on Spanish shoe product pages.