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.

View cdna-admin screens you can override in your site repository.

Admin view

products/backend/categories/add.html Categories\Add

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.