# $orderPage->render()

> Renders the order page

- Source: `src/OrderPage.php#L183` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/OrderPage.php#L183>

```php
$orderPage->render(array $data = [], $contentType = 'html', Kirby\Content\VersionId|string|null $versionId = null): string
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$data` | `array` | `[]` |
| `$contentType` | `–` | `'html'` |
| `$versionId` | `Kirby\Content\VersionId\|string\|null` | `null` |

## Return type

`string`

## Description

An order is reachable by its url alone — the slug is the only secret —
and it shows the customer’s name, address and what they bought. The
headers keep that page out of shared caches, out of search engines, and
keep its url from travelling to other sites in a referrer.

## Parent class

`Wagnerwagner\Merx\OrderPage`
