@RenderNavigation(new { id = "topnavigation", cssclass = "menu dw-mod dwnavigation u-full-max-width u-flex grid--wrap", startLevel = startLevel, ecomStartLevel = startLevel + 1, endlevel = 5, expandmode = "all", template = "BaseMenuWithDropdown.xslt" });
Developer forum
E-mail notifications
#topnavigation hiding sub-pages under ecommerce context
Replies
Hi Lara
I am not sure I fully understand your setup. Please correct me if I am wrong.
Is it not possible for you to enable the "Ecommerce navigation" only on "/models/motorized/" and "/models/towables/"? And then, of course, not enable it on the root "models" page.
Best regards
Karsten Thuen
Hi
We are having the same issue with a slightly different setup
We have a top level page (called Crops) which has our Product Catalogue attached and Ecommerce Navigation enabled. Under that we have a regular content page called Crop Management. The menu structure we wish to generate is as follows...
Crops
Crop Management (Regular page)
Group 1
Group 2
etc
This is what is generated when you are not within in the Ecommerce Navigation i.e On one of the Groups or Product pages, but as soon you navigate to one of those ecommerce pages the Crop Management page is no longer included in the Navigation xml and dissapears from the menu.
This is a slightly different setup to Lara's and as such we cant just move the ecommerce navigation to a child page.
Look forward to your response
Thanks
Steve
Hi
Just wanted to add that our issue is on a custom implementation of DW, not based on Rapido. Just in case that makes a difference
Thanks
Steve
Hi Steve
How do you call the navigation - what settings? Can we see a copy of the navigation xslt and the xml you get with ?savexml=true (Find the xml file next to the XSLT file)
Thanks, Nicolai
Hi Nicolai
I have attached a screenshot of our ecom navigation settings on the top level Crops page (ecomnav.png).
There is also an image of the generated navigation menu and saved navigation xml (via savexml=true) from when the user is outside of the ecom navigation structure (menu-1.png, navbar-1.xml) and under the ecom navigation structure (menu-2.png, navbar-2.xml). As you can see once under the ecom navigation structure the regular content page no longer appears in the navigation xml.
I havnt provided the xslt since the issue is the page is not included in the navigation xml.
The menu is rendered in the master page using
@RenderNavigation(new
{
Id = "navbar",
Template = "navbar.xslt",
ExpandMode = "All",
EndLevel = 3
})
Thanks
Steve
Hi Nicolai
Further to my reply we have noticed that this issue on occurs if the Product Catalog is set on the page with the Ecom Navigation set i.e. The Crops page. If we move the product catalog to another page and set this as the Prodcut page in the Ecommerce Navigation settings it all works fine.
Thanks
Steve
You must be logged in to post in the forum