Merx

$orderPage->render()

Renders the order page

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

Parameters

Name Type Default
$data array []
$contentType mixed 'html'
$versionId Kirby\Content\VersionId or string or 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