TemplatesProducts module
Products templates
Default templates the Products 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
products/backend/categories/add.html
Categories\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$category |
Category |
Single (empty) Category record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/categories/add.html in your site repository.
products/backend/categories/edit.html
Categories\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$category |
Category |
Retrieved Category record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/categories/edit.html in your site repository.
products/backend/categories/manage.html
Categories\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$categories |
Collection<Category> |
Collection of Categories |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/categories/manage.html in your site repository.
products/backend/categories-products/manage.html
CategoriesProducts\Manage
Retrieve available records and assign them to the template for editing.
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/categories-products/manage.html in your site repository.
products/backend/category-descriptions/edit.html
CategoryDescriptions\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$categoryDescription |
CategoryDescription |
Retrieved CategoryDescription record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/category-descriptions/edit.html in your site repository.
products/backend/description-containers/add.html
DescriptionContainers\Add
Add a new record. Assigns an empty record to the template.
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/description-containers/add.html in your site repository.
products/backend/description-containers/edit.html
DescriptionContainers\Edit
Retrieve a single record and display the edit page for the record
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/description-containers/edit.html in your site repository.
products/backend/product-descriptions/edit.html
ProductDescriptions\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$productDescription |
ProductDescription |
Retrieved ProductDescription record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/product-descriptions/edit.html in your site repository.
products/backend/product-interests/manage.html
ProductInterests\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$productInterests |
Collection<ProductInterest> |
Collection of ProductInterests |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/product-interests/manage.html in your site repository.
products/backend/product-variants/add.html
ProductVariants\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$productVariant |
ProductVariant |
Single (empty) ProductVariant record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/product-variants/add.html in your site repository.
products/backend/product-variants/edit.html
ProductVariants\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$productVariant |
ProductVariant |
Retrieved ProductVariant record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/product-variants/edit.html in your site repository.
products/backend/products/add.html
Products\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$product |
Product |
Single (empty) Product record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/products/add.html in your site repository.
products/backend/products/edit.html
Products\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$product |
Product |
Retrieved Product record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/products/edit.html in your site repository.
products/backend/products/manage.html
Products\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$products |
Collection<Product> |
Collection of Products |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/products/backend/products/manage.html in your site repository.