Placeholders for insertion of navigation elements (menu)
To insert navigation elements in a Customer Store page, use the following placeholders (see Viewing and updating a UI Template):
Placeholder | Description | Type | Example |
---|---|---|---|
navigation.menu | Shows the list of the menu items {name: '..', path: '..', children: [], selected: True/False } | Global | <nav> {% for menu_item in navigation.menu %} <a href="{{ menu_item.path }}">{{ menu_item.name }}</a> {% endfor %} </nav> |
navigation.current_page | Shows the selected Menu item | Global | {{ navigation.current_page }} |