EN IT

Departments

Below you will find documentation for:

In addition to these, on the department.html page, you can also use the common variables for all pages.

department.html

Department page with the products it contains.

Note

For a specific department you can use an HTML page different from department.html. By adding the following comment in the page source:

<!-- @Page type="department" -->

you can use the same variables of the department.html page.

You will then have to apply the template to the site and then in the department card in the admin you can choose this HTML page as the department page.

Instruction Variable Description
for breadcrumbs Departments from the main one to the currently displayed one
for childDepartments Child departments
show columns Number of columns to display products
show count Number of products contained
show departmentColumns Number of columns to display child departments
show description Description
show image Image
show name Name
show paging Pagination, allows moving to the next products
for products Contained products
for siblingDepartments Sibling departments. These are the departments at the same level as the current department
show sortBy Menu to choose product sorting
show topSellers Best-selling products of the department

for childDepartments

childDepartments is used on the department.html page to display the list of child departments of the current department and is also used on all pages in the context of for departments.

Instruction Variable Description
show id Identifier
show name Name
show image Small image

for siblingDepartments

Instruction Variable Description
show name Sibling department name
show image Small image

for departments

The departments variable is used on all store pages to show the list of departments, optionally with the list of child departments.

Instruction Variable Description
for childDepartments Child departments
show id Identifier
show image Small image
show name Name