> 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="/files/Go9JwY7QseJt4dkeDRVg" 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="/files/jTX3tlUrGrVLoV8Kg7pg" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
