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

# Other template

> Reference for Liquid tags supported in Customer Portal custom-content and offer templates, grouped by default and optional usage.

These tags are available in `other.liquid`, `offer.liquid`, and `offer_confirmation.liquid`.

* Default components are already present in the shipped `other.liquid` template.
* Optional components can be added or used to replace parts of the default layout.

Shared page components are documented on [Shared page components](./common): `{% legacy_navbar %}`.

## Default components

## Page context

On the Customer Portal v2 order details page, `other.liquid` also receives an `order` object.

If the order has a finalized invoice, you can access it through `order.invoice` and reuse invoice fields such as the invoice number, status, and payment link.

```liquid theme={null}
{% if order.invoice %}
  <a href="{{ order.invoice.pay_now_url }}">
    Pay invoice {{ order.invoice.number }}
  </a>
{% endif %}
```

## `{% main_content %}`

Used in: Other pages, Offer, Offer confirmation, Cancellation reasons, and Cancellation follow-up

```liquid theme={null}
{% main_content %}
```

```html theme={null}
<!-- raw content_html rendered directly -->
<div>...</div>
<p>...</p>
...
```

## Notes

* `{% main_content %}` returns an empty string if no `content_html` register is present.
