[[store.navigator]]
Available Since: V1.0.0
Snippet to draw the contents of a product category as a navigation menu.
Parameter |
Description |
catID |
The ID of the category to draw, if omitted and the snippet is on a store category document then the category associated with that document will be drawn. |
class |
CSS class to apply to the default <ul> container of the list. |
sortBy |
Sort images by `position`, `added` or `title` defaults to `position`. |
order |
Sort order `DESC` or the default `ASC` |
wrapperTpl |
The chunk to use to wrap the image menu. |
exclude |
Comma separated list of product IDs to exclude from the thumbnail view. |
itemTpl |
The chunk to wrap each product in. |
depth
|
If given the depth to descend into nested categories, 0 = unlimited.
|
Default wrapperTpl Chunk
<ul class="[[+class]]">[[+child`]]</ul>
Placeholder |
Description |
class |
The CSS class set by the class parameter. |
child |
The HTML for the products being drawn. |
Default itempTpl Chunk
<li [[+classes]]><a href="[[+link]]">[[+menutitle]]</a></li>
Placeholder |
Description |
id |
The ID of the product being rendered. |
link |
The address of page holding the product details. |
title |
The title of the product. |
menutitle |
The menu title of the product or if not given the title. |
classes |
Will be active if the page currently being viewed is for the product. |