Requirements section

Advanced requirements

Overview

This section allows to build advanced logical expressions based on values of the order.

A requirement can evaluate to either True or False value.

A group is a requirement that is evaluated based on the requirements that are contained in this group. AND/OR operator can be used to evaluate the group.

All requirements are placed in the root group called DefaultRequirementGroup.

Entities

Requirements can be placed on following entities:

  • Billing address

  • Shipping address

  • Checkout attributes

  • Order totals

  • Specification attributes

  • Shipping methods (not aplacible)

  • Product Category, Manufacturer, Vendor

Operators

OperatorMeaning

==

equals to

!=

not equals to

>

greater than

>=

greater than or equal to

<

less than

<=

less than or equal to

in

the value is contained in the list use a list of values separated with comma

not in

the value is not contained in the list use a list of values separated with comma

contain

the value contains

starts with

the value starts with

does not start with

the value does not start with

If you are using in/not in parameter, input a list of values separated with comma.

Creating a requirement (not group)

  1. Select requirement type

  2. Select a group, to which a requirement will be added (hidden if only root group is present)

  3. Select the property, value of this property will be compared

  4. Select operator for comparison

  5. Input a value for comparison. If you are using in/not in parameter, input a list of values separated with comma.

  6. Click save.

Creating a requirement (group)

  1. Select Add requirement group in requirement type field.

  2. Select a group, to which a requirement will be added (hidden if only root group is present)

  3. Input a group name. It's recommended to have group names unique for your clarity.

  4. Click save.

  5. Select whether elements in this group will be compared by AND or OR operator.

Last updated