> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up your terms, documents and emails

> Step 2. Write your terms and cancellation policy, template the documents an order produces, and edit the transactional emails TWICE sends before you take a real order.

Replace the defaults on your terms, your document templates and your transactional emails before a real order goes out. All three carry your name, and all three start out wrong.

Read each one out loud before you approve it. These are the parts of TWICE your customers actually see.

## Write your terms and a cancellation policy

Create policy documents under **Settings → Terms & Policies**. Give each one a name and choose its content type.

| Content type       | What you get                                |
| ------------------ | ------------------------------------------- |
| **Inline content** | Write the policy in TWICE and keep it there |
| **Link**           | Point at a page you already host elsewhere  |

Policy names are free text, not a fixed list. Create as many as you need: a terms of service, a privacy policy, a cancellation policy. Keep each in **draft** while you write it, then preview the rendered policy and set it **active** to publish it.

<Note>
  Writing a cancellation policy here is not the same as TWICE enforcing one. Archiving an order never calculates a refund on its own (see [Order Lifecycle](/docs/concepts/orders/order-lifecycle#cancellation-behaviour-at-each-stage)). The policy you write here is what you tell customers; applying it to a specific order is still your own decision.
</Note>

An active policy reaches customers in two places, and each is set up separately:

* **Checkout consents**, on the Contact step of a checkout.
* **The storefront footer**, in the Theme Editor.

## Ask for consent at checkout

Open the Contact step of a checkout under **Settings → Checkouts**, and add consent checkboxes from its **Consents** section.

<Warning>
  There is no terms checkbox at checkout by default. The only consent that ships out of the box is **Marketing consent**, and it is optional. If customers need to accept your terms before they can pay, add a custom consent yourself and link it to a policy document.
</Warning>

| Consent               | What it does                                                                  |
| --------------------- | ----------------------------------------------------------------------------- |
| **Marketing consent** | A system consent. Saves to the customer's marketing attribute. Ships optional |
| **Custom consent**    | Your own text, linked to one of your policy documents or to an external URL   |

A consent's **label** is for you: it is what you see in the admin and never reaches the customer. What the customer reads is the **prefix** text, the link itself, and any **suffix** text after it. Mark a consent **required** to block checkout until the customer ticks it.

## Link your policies from the storefront

Two footers carry policy links, configured separately and independently:

| Footer                | Where                                                                 | Applies to            |
| --------------------- | --------------------------------------------------------------------- | --------------------- |
| **Storefront footer** | Sales Channels → Online Store → Theme Editor → **Footer**             | Every storefront page |
| **Checkout footer**   | Settings → Checkouts → a checkout's **Steps & sections** → **Footer** | That checkout only    |

On each, turn on **Show policy links**, set how many slots you want (1 to 10, three by default), then assign one of your active policy documents to each slot. Neither footer picks one up on its own: an active policy shows nowhere until you assign it a slot.

## Template the documents an order produces

Open **Settings → Documents**. Two order-type templates are already there: **Order confirmation** and **Receipt**. Edit their content, or add your own (a rental agreement, an invoice) by picking a template type (**order**, listing, stock item, customer, or collection), writing the body as HTML, and previewing it against sample data before you publish it.

An order-type template reaches a specific order in one of three ways:

| Route                                         | Where                                                                                                   | What happens                                                                                                                                           |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Create it on the order, on demand**         | The order's own **Documents** tab → **Add** → **Create from template**                                  | You pick an order-type template, TWICE renders it with that order's live data, and it lands on the order as a PDF you can rename                       |
| **Attach it to an email**                     | The email template's **Attachments** tab, under Settings → Emails                                       | The template renders with that order's data and goes out with the email every time it sends                                                            |
| **Attach it to a listing, SKU or stock item** | That resource's own Documents tab, using the **Copy to order** or **Attach to order confirmation** flag | An uploaded file, not a rendered template, lands on the order's Documents tab or on the order confirmation email whenever that resource joins an order |

The first route is manual and per order. The second and third run automatically, once you set them up.

## Edit your transactional emails

Open **Settings → Emails**. Eight system templates are built in: an admin and a storefront order confirmation, the checkout link, and five subscription lifecycle emails. Edit their subject and content; you cannot delete them. Two of the eight, the subscription payment reminder and the subscription ending notice, start in draft, so activate them if you want them sent.

TWICE has no built-in receipt, cancellation, or pickup and return reminder email for regular orders. If you rely on one, add it yourself as a custom email.

<Warning>
  Write the words now. Content is what gates your go-live, the same as payments and checkouts. There is no separate styling mode to defer to later, so a template you have not read is a template your customers will read unedited.
</Warning>

Every template resolves in the same order: a per-language override, then the template's own content, then, for system templates only, the built-in default. Custom templates have no built-in default, so an untranslated language falls back to whatever you wrote in your source language.

## Done when

* Your terms and cancellation policy are yours rather than placeholders, and each is active.
* At least one checkout asks for the consents you need, with the right ones marked required.
* Your active policies appear in the storefront footer and, where you want them, the checkout footer.
* A receipt and any other order document you rely on render correctly with your own details, and reach a real order.
* Every transactional email a customer receives automatically has been read and rewritten in your own words.

## Related articles

<CardGroup cols={2} className="doc-rows-condensed">
  <Card title="Connect payments" href="/docs/guides/launch/make-it-sellable">
    The launch step this guide belongs to.
  </Card>

  <Card title="Terms & Policies" href="/docs/settings/terms-policies">
    Policy documents in full: content types, status, and where they appear.
  </Card>

  <Card title="Documents" href="/docs/settings/documents">
    Every document template type, per-language content, and defaults.
  </Card>

  <Card title="Emails" href="/docs/settings/emails">
    The eight system templates, template variables, and email language resolution.
  </Card>

  <Card title="Checkout - Steps & sections" href="/docs/settings/checkouts/steps">
    The Contact step's consents, and both footers' policy links.
  </Card>

  <Card title="Order Documents" href="/docs/orders/order-tabs/documents">
    How a document lands on a specific order.
  </Card>
</CardGroup>
