> For the complete documentation index, see [llms.txt](https://docs.ecwid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ecwid.com/site-themes/develop-site-themes/footers.md).

# 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](https://docs.ecwid.com/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](https://docs.ecwid.com/site-themes/develop-site-themes/sections.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ecwid.com/site-themes/develop-site-themes/footers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
