# Collection

*Block type for the **Search results** section.*

### What It Does

The **Collection** block displays top products collection before entering a search.

***

### Settings

#### **Heading**

The title text displayed in this element.

#### **Collection**

Selects a collection to display.

#### **Number of products to show**

The number of items displayed in predictive search results.

#### **Show vendor**

When enabled, displays this element. Disable to hide it.

#### **Show price**

When enabled, displays this element. Disable to hide it.

#### **Show 'View all' button**

When enabled, displays this element. Disable to hide it.

***


---

# 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://moodboard-creations.gitbook.io/agnes/page-setup/search-page/main-search-product-list/collection.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.
