Create navigation nodes
Edit on GitHubThis document describes how to create navigation nodes.
Prerequisites
To start working with navigation nodes, go to Content > Navigation.
Make sure to review the reference information before you start, or look up the necessary information as you go through the process.
Create a navigation node
- In the List of navigation elements, select the navigation element you want to create a node for.
- In the Create child node pane, select the node TYPE.
- Enter a TITLE.
- Depending on the node TYPE, do one of the following:
- Category: enter and select a CATEGORY URL.
- CMS page: enter and select a CMS PAGE URL.
- Link: enter a LINK.
- External URL: enter an EXTERNAL URL.
- Optional: Enter a CUSTOM CSS CLASS.
- Select VALID FROM and VALID TO dates.
- To display the node on the Storefront, select the ACTIVE checkbox.
- Click Save.
This displays a success message. The NAVIGATION TREE refreshes with the created note displayed.
Create a child navigation node
- In the List of navigation elements, select the navigation element you want to create a child node for.
- In the Navigation tree pane, select the navigation node you want to create a child node for.
- In the EDIT NODE pane, click Create child node.
- In the Create child node pane, select the node TYPE.
- Enter a TITLE.
- Depending on the node TYPE, do one of the following:
- Category: enter and select a CATEGORY URL.
- CMS page: enter and select a CMS PAGE URL.
- Link: enter a LINK.
- External URL: enter an EXTERNAL URL.
- Optional: Enter a CUSTOM CSS CLASS.
- Select VALID FROM and VALID TO dates.
- To display the node on the Storefront, select the ACTIVE checkbox.
- Click Save.
This displays a success message. The NAVIGATION TREE refreshes with the created note displayed.
Reference information: Create navigation nodes
ATTRIBUTE | DESCRIPTION |
---|---|
TYPE | Type of the navigation node. For all the types, see Navigation node types. |
TITLE | Name of the navigation node. It will be displayed on the Storefront. |
CUSTOM CSS CLASS | CSS class defining the design of the navigation node. Usually, a front-end developer creates them. |
VALID FROM and VALID TO | Navigation node will be displayed on the Storefront between the dates defined in these fields, inclusively. |
ACTIVE | Checkbox to define if the navigation node will be active. Inactive navigation nodes and their sub-nodes are not displayed on the Storefront. |
Reference information: Navigation node types
NODE TYPE | DESCRIPTION |
---|---|
Label |
Labels do not link to any specific URL; they are used for grouping other items accessed from the menu. |
Category |
Category is used to link an existing category you have to the navigation node. A category must exist in the Category section. |
CMS Page |
CMS page can be assigned to a node. A CMS page must exist in the Content > Pages section. |
External URL |
External URL is a link that is typically opened in a new tab. |
Link |
Link to internal pages, i.e., login, registration, etc. |
Depending on the type of the node, there is various node related information that can be managed:
- Localized title (all types of nodes): This is the name of the node exactly how it will be displayed in the store (for example, if you link a category to your node, the node name can be even different from the name of the category).
- Localized custom CSS class (all types of nodes): If the class is defined in the shop, then a correct class reference will define the look and feel of the node. This is also localized, which means that for different locales, you can have different appearances for the same node.
- Active/not active (all types of nodes): If necessary, you can also completely deactivate a node. This will also make the node and the nodes below it invisible in your shop for as long as it’s inactive.
- Localized category URL (only for “Category” type): When you are assigning a category to the node, you can search by the category name to select the correct category URL you want to assign. Keep in mind that this also is localized information, so for multiple locales, you will need to make sure that you select the same category for all locales. If your category has multiple parents in the category tree, the same category can have different URLs. In this case, you will need to pick one of those URLs.
- Localized CMS page URL (only for “CMS” type): When you are assigning a CMS page to the node, you can search by the CMS page name to select the correct CMS page URL you want to assign. Keep in mind that this is also localized information, so for multiple locales, you will need to make sure that you select the same CMS page for all locales.
- Link (only for “Link” type): This is the relative path of your internal link. For example, if you would like to link a login page that is under “/login”, then this is exactly what you will use as an input for the Link field.
- External URL (only for “External URL” type): If you would like to link an external URL to your nodes, you will use this field to define the absolute URL. This could be used, for example, to link your corporate website page in your shop. Unlike internal links, the URL of the external link should be absolute, which means it needs to include the protocol as well as domain, e.g., https://mydomain.com/page
Thank you!
For submitting the form