# Collection

Renders the collection page with two layouts shoppers can switch between — a vertical Feed and a multi-column Grid.

## How to access

In the customizer, open a collection template and edit the **DRIFT Collection** section.

## View settings

### Default view

Which layout loads first — **Feed** or **Grid**.

### Allow view toggle

Show a feed/grid toggle icon in the header on collection pages.

## Feed settings

### Image ratio

Choose **1:1 (Square)** or **3:4 (Portrait)**. Applies to both Feed and Grid views.

### Products to show

Range from 4 to 50. The maximum number of products displayed.

### Show product title

Display product title in both Feed and Grid views.

### Show product price

Display product price in both views.

### Feed indicator

Choose **None**, **Dots**, or **Numbers**. The progress indicator shown in Feed view.

## Grid settings

### Grid columns (desktop)

Choose **3 columns** or **4 columns**. Mobile is always 2 columns.


---

# 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.webexp.dev/drift/drift-starter/sections-and-features/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.
