> For the complete documentation index, see [llms.txt](https://docs.stylemixthemes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stylemixthemes.com/cost-calculator-builder/conditional-system/and-or-conditions.md).

# AND/OR Conditions

{% embed url="<https://youtu.be/xUwxooRP9Mg?si=-4LEAdcqtv-cqA0S&t=514>" %}

It is possible to create conditions bound with **AND/OR** terms.

* **AND** - selected action will be applied if both (all) conditions match.
* **OR** - selected action will be applied if one (any) of the conditions match.

Click on the <kbd>Add Condition</kbd> button to add it:

<figure><img src="/files/SansKwAjnYDXPqAiBRT2" alt=""><figcaption></figcaption></figure>

You can make as many bounds as you want per condition:

<figure><img src="/files/QgSR0v4R3CdhOXKoWHuM" alt=""><figcaption></figcaption></figure>

Let's take an example of making bound conditions for the **Annual Interest Rate** depending on the **Loan Amount**.

**Condition:** if the loan amount is greater than 5 000 and less than 7 000, set the annual interest rate to 10:

<figure><img src="/files/Mio0H4ojhHKNAb8vYw4N" alt=""><figcaption></figcaption></figure>

In the first preview, we can see that only one condition is met and the annual interest rate has not changed:&#x20;

![](/files/8VKtKLAiWlwvq023UiK4)

In the second preview, both conditions are met and the annual interest rate is set to 10:

![](/files/hCy0bY1zlWHAMgktjkzI)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stylemixthemes.com/cost-calculator-builder/conditional-system/and-or-conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
