Conditions

Evolve Commerce Documentation


Conditions

Conditions are used to determine when and if a Setting Group should be applied.

Always Run

This setting will cause this Setting Group should ignore the conditions and just run every time. This is mainly useful when testing.

Image

Matching Type

This setting determines how multiple conditions should be applied.

'And' will cause the Setting Group to only be applied when all conditions are met.

'Or' will cause the Setting Group to be applied when any of the conditions are met.

Image

Condition Items

Condition items are what set the rules for when and if this Setting Group should be applied. You can have as many condition items as needed and each item consists of the following:

Type

The first dropdown is the type of the condition and what we want to compare against. A combination of the following will be available depending on what's applicable.

  • Day of the week
  • Time of day
  • Date
  • Url – The url of the current page
  • Referrer Url – The url of the previous page
  • Product count – The total number of products (Only available on Recommendations)
  • Product Id – The Id of the currently viewed product (Only available on Recommendations)
  • Category – The current category (Only available on Recommendations)

Comparer

The second dropdown is the comparer that we want to use to for the selected Type. A combination of the following will be available depending on what's applicable.

  • Is
  • Isn’t
  • Is one of
  • Contains
  • Does not contain
  • Is greater than
  • Is less than
  • Is between

Value

The final dropdown is the value that we want to compare the Type against.

Image