TemplatesOrders module
Orders templates
Default templates the Orders 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.
Admin view
orders/backend/metadata-fields/add.html
MetadataFields\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$metadataField |
MetadataField |
Single (empty) MetadataField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/metadata-fields/add.html in your site repository.
orders/backend/metadata-fields/edit.html
MetadataFields\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$metadataField |
MetadataField |
Retrieved MetadataField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/metadata-fields/edit.html in your site repository.
orders/backend/metadata-fields/manage.html
MetadataFields\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$metadataFields |
Collection<MetadataField> |
Collection of MetadataFields |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/metadata-fields/manage.html in your site repository.
orders/backend/orders/edit.html
Orders\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$order |
Order |
Retrieved Order record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/orders/edit.html in your site repository.
orders/backend/orders/manage.html
Orders\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$orders |
Collection<Order> |
Collection of Orders |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/orders/manage.html in your site repository.
orders/backend/refunds/edit.html
Refunds\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$refund |
Refund |
Retrieved Refund record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/refunds/edit.html in your site repository.
orders/backend/refunds/manage.html
Refunds\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$refunds |
Collection<Refund> |
Collection of Refunds |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/orders/backend/refunds/manage.html in your site repository.