0
votes

we are using Spartacus 2 lib in our project, and we want to customise (by restructuring the HTML) the navigation from:

OOTB Navigation

to this:

New Nav Implementation

Basically putting the Original level 1 nav links inside Shop Cameras link.

Can this be achieved by ng-template alone? Or do we need to create another component and call the service that retrieves the nav items again?

1
What do you think about arranging the cms data for the navigation links so it will be rendered as you wish?Krzysztof Platis

1 Answers

0
votes

As @platonn suggests, it is recommended to use the CMS to build content. Hardcoded content can only be added, translated and maintained by developers and requires development testing, deployments, etc. Using a CMS gives you runtime flexibility by business users.