TemplatesCheckouts module

Checkouts templates

Default templates the Checkouts module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.

View Default templates of the public site.

Templates view

checkouts/complete.html Checkouts\Complete
The template receives
VariableTypeDescription
$order Order The order relating to the uuid

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Override it: create templates/checkouts/complete.html in your site repository.

checkouts/single-page.html Checkouts\SinglePage

Process request to get a checkout

The template receives
VariableTypeDescription
$checkout Checkout The checkout model
$metadataFields ModelsCollection List of metadata fields

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Override it: create templates/checkouts/single-page.html in your site repository.