# How to set up custom filtering options

Modular has three filtering methods to choose from. They can be found under the collection products section settings.

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

## Default

The default method is a new feature introduced with online store 2.0. This feature is automatically generated based on your product information such as variant price, availability, product type, brand, and vendor.

{% embed url="<https://help.shopify.com/en/manual/products/searching-filtering>" %}

## Filter by tag

Filtering by tag method simply takes all of the unique tags applied to each product of the collection and lists them inside the filters menu.

This is the most simple method of all and as such, the fastest. If your priority is speed, we definitely recommend giving this method a try.

## Filter by group

The filter by group method has been a staple in our theme for years and we are happy to include this in this version too. While this method is similar to the filter by tag method, as they both use product tags, it is a lot more advanced.

Setting this method up requires the use of product tags with a specific pattern. For each of your products, you need to specify **tags** that consist of a combination between the group name and the option name.

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

The group and option need to be separated with an underscore but they can contain spaces if they need to.


---

# 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://modular.presidiocreative.com/custom/custom/modular-filtering-options.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.
