# Footers

Footers are specialized sections that appear at the bottom of every page in the storefront. They follow the same structure as regular sections — same folder layout, settings files, entry points, and composables — but are placed in the template configuration's `footer` slot instead of in page sections.

### Differences from Sections <a href="#differences-from-sections" id="differences-from-sections"></a>

| Aspect                | Section               | Footer                                    |
| --------------------- | --------------------- | ----------------------------------------- |
| Type                  | `SECTION`             | `FOOTER`                                  |
| Mandatory content     | None                  | None                                      |
| Mandatory design      | None                  | None                                      |
| Placement             | Inside template pages | Template configuration `footer` slot only |
| Used in page sections | Yes                   | No                                        |

Unlike [Headers](/site-themes/develop-site-themes/headers.md), footers have **no mandatory settings** — you are free to define any content and design editors you need.

### Template Configuration <a href="#template-configuration" id="template-configuration"></a>

Footers are referenced in the template's `configuration.ts`, not in page sections:

**Default footer** (built-in):

```
footer: { type: 'default', id: 'footer', showcase_id: '1' }
```

**Custom footer** (your own section with type `FOOTER`):

```
footer: { type: 'custom', id: 'my-custom-footer', showcase_id: '1' }
```

When using `type: 'custom'`, the referenced section must exist in the `footers/` directory and have `type: 'FOOTER'`.

### Validation Errors <a href="#validation-errors" id="validation-errors"></a>

| Error                                                           | Cause                                     | Resolution                                     |
| --------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------- |
| *"Footer section must have id 'footer' when type is 'default'"* | Default footer must use the id `"footer"` | Set `id` to `'footer'`                         |
| *"Custom footer section must exist in footers directory"*       | Referenced custom section not found       | Create the section in the `footers/` directory |
| *"Custom footer section must be of type 'FOOTER'"*              | Custom section exists but has wrong type  | Set the section's type to `'FOOTER'`           |

### Learn more <a href="#further-reading" id="further-reading"></a>

For everything else — settings, showcases, entry points, composables — see [Sections](/site-themes/develop-site-themes/sections.md)


---

# 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.ecwid.com/site-themes/develop-site-themes/footers.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.
