# Filtered products

If you choose **any**, It means if any product **matches one** of these below filter, then it will be affected by this rule.

![](/files/3z7zQBj8oxqGRUzz11VJ)

**Example:**

* **Beanie** product or **Album** product will be affected.
* Any product which has price less than $10 will be affected.
* Any product which has stock greater than 0, means IN STOCK will be affected

If you choose **all**, It means if any product which **matches all** of these below filters, then it will be affected by this rule.

![](/files/nMJ5v3ZKafdeVqtE0z5h)

**Example:**&#x20;

Product must be **Beanie (or Album)** and must have price less than **$10** and must be IN STOCK.

{% hint style="info" %}

* If no filter is set, all products will be affected by this rule.
* You can check products matching this filters by clicking on the **Check matched products** button.
  {% endhint %}


---

# Agent Instructions: 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.yaycommerce.com/yaypricing/rule-settings/filtered-products.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.
