# Name a template or replace an existing one

> Set the template name for a new AI product page, and choose what to do when the name is already taken.

We fill in **Template name** for you. To change it, open **Advanced settings**. If the name exists on that theme, we ask you to replace that template or save a new one. Replacing overwrites it, and products using it change right away.

## Set the name

1. Start a product page build and pick your product.
2. Open **Advanced settings**.
3. Type in **Template name**.

Names use lowercase letters, numbers and hyphens, up to 40 characters. We fix anything else. A blank name becomes **section-store**.

We start with these names:

- **Specific product**: the product's name.
- **Collection**: **collection-** plus the collection's name.
- **Any product**: **store-wide**.
- **Import from link**: **aliexpress-** or **cj-** plus the supplier's product number.

Home pages and any pages have no name field. Their templates are named **ai-home-** or **ai-page-** plus a number.

## When the name is taken

You see "This name is taken in this theme." When you click Generate, a warning opens with two choices:

- **Replace template**: we overwrite that template. Products using it show the new page right away.
- **Save as**: we keep both and add a number to the new name, like **my-page-2**.

Pick **Save as** if you aren't sure. A replaced template can't be brought back from the app.

## Related

- [Choose the template a new page starts from](https://section-store.orka.help/a/start-from-another-template)
- [Undo an AI page](https://section-store.orka.help/a/undo-an-ai-page)
- [Will AI Pages change my live store?](https://section-store.orka.help/a/will-ai-pages-change-my-live-store)

*Also searched as:* template name, rename template, this name is taken, name taken, template name taken, replace template, overwrite template, overwrite existing template, save as, duplicate template name, change template name, template naming, reuse template, tempalte name
