|
NavigationBar |
|
|
The navigation bar displays the list of all categories and subcategories of products, which lets customers freely navigate the online catalog. Clicking a category’s name opens the list of products and subcategories of the selected category. All templates of the NavigationBar block are stored in the folder avactis-templates/catelog/navigation-bar/default/. The NavigationBar block consists of three types of templates: a container, an empty container and category templates.
Using category templates you can set the design of:
Category templates navigation-level-default.tpl.html and navigation-level-selected-default.tpl.html are the default category templates. They are used for displaying categories on any level of category structure, unless a template is defined for a particular category’s level. To define the design used for displaying the selected category of any level, create the template navigation-levelXYZ-selected.tpl.html. Define the design of an unselected category with the template navigation-levelXX-default.tpl.html. In these template names, the category's level number (XYZ) follows the word “level”. As shown on the figure, the NavigatinBar block provided with Avactis Shopping Cart by default features templates for categories of the first and the second level. For all other levels categories will be rendered using the templates “navigation-level-default.tpl.html” and "navigation-level-selected-default.tpl.html”. Examples of template names for categories of level 3: navigation-level3-default.tpl.html and navigation-level3-selected-default.tpl.html; for level 4: navigation-level4-default.tpl.html and navigation-level4-selected-default.tpl.html. The figure below shows the outline of templates of the NavigationBar block provided with Avactis Shopping Cart by default.
|
© 2004-2008 Pentasoft Corp. All Rights Reserved.