> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yayreviews/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yayreviews/settings/filter-bar.md).

# Filter Bar

<figure><img src="https://2112674995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fr8lIE7jh3IQfBWIJiYxM%2Fuploads%2F2cJtpGB6hGGLTWf78CQY%2Fimage.png?alt=media&amp;token=17fb0aee-f009-407a-9da9-ee336dcc6031" alt=""><figcaption></figcaption></figure>

The **Filter Bar** allows you to configure how customers filter and sort reviews on product pages. This feature helps shoppers quickly find the most relevant reviews, improving usability and trust.

#### Enable Filter Bar

* **Enable Filter Bar:** Show the review filter bar above the reviews list on product pages.\
  When disabled, reviews are displayed without filtering or sorting options.

#### Filter Options

Choose which filter controls are displayed in the filter bar.

* **Sort By:** Allows customers to sort reviews by:
  * Most Recent
  * Highest Rated
  * Lowest Rated
* **Time Period:** Filter reviews by time range:
  * All Time
  * Past Month
  * Past 6 Months
  * Past Year
* **Content Length:** Filter reviews based on content length:
  * Any
  * Brief
  * Detailed

#### Checkbox Filters

Enable filters that appear as checkboxes in the **“Show only”** section.

* **Verified Purchase:** Show only reviews submitted by verified purchasers.
* **With Photos/Videos:** Show only reviews that include images or videos.
* **With Store Reply:** Show only reviews that have a response from the store.
* **Same Country Reviews:** Show only reviews from customers in the same country as the current user.

<figure><img src="https://2112674995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fr8lIE7jh3IQfBWIJiYxM%2Fuploads%2FZ2oPvKIzEYdheuLH9FVA%2Fimage.png?alt=media&amp;token=566c9554-1dc8-4721-8117-00a6a10862f8" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.yaycommerce.com/yayreviews/settings/filter-bar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
