> For the complete documentation index, see [llms.txt](https://shippingrestrictions.docs.foxnetsoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shippingrestrictions.docs.foxnetsoft.com/rules/requirements-section.md).

# Requirements section

## 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*.&#x20;

## 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

| Operator    | Meaning                                                                                        |
| ----------- | ---------------------------------------------------------------------------------------------- |
| ==          | equals to                                                                                      |
| !=          | not equals to                                                                                  |
| >           | greater than                                                                                   |
| >=          | greater than or equal to                                                                       |
| <           | less than                                                                                      |
| <=          | less than or equal to                                                                          |
| in          | <p>the value is contained in the list<br><br>use a list of values separated with comma</p>     |
| not in      | <p>the value is not contained in the list<br><br>use a list of values separated with comma</p> |
| contain     | the value contains                                                                             |
| starts with | the value starts with                                                                          |

{% hint style="warning" %}
If you are using in/not in parameter, input a list of values separated with comma.
{% endhint %}

## 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.
