Developer forum

Forum » Templates » eCom menu - xslt and @InPath

eCom menu - xslt and @InPath


Reply

I am making a eCom menu. It has to be in the left side of the site. I am having problems with showing it in the way I want to:

 

Groups in the root level of my shop has to be shown (and no other groups). When I click one of the groups the groups below, belonging to the group I just clicked (that would be level 2), has to be shown.

 

I am using this from a normal xslt menu, but it does not seem to work in this eCom menu as I in the xslt ask on this:


 
   

    M{@AbsoluteLevel}">
         
           
         

       

 

 

The subgroups for a group at L1 is shown, when I click the L1 item, but when i click a L2 item in the menu, only the L1 items are shown again.

 

Anyone who knows why this does not work. If it is not supposed to work I would like to know in which other way I can get it working.

 

 

// René


Replies

 
Reply

Hi Rene

The @InPath attribute does not exist in your current XML, which is why it doesn't work.

 

But, you can use the new ecom navigation.

Right click a page and choose Edit Page > Navigation > Check Ecommerce.
Then you're able to select an entire shop or specific groups to become childpages to this page.


Then your groups will be a part of the regular page structure.

And you can see the XML structure if you do like this:
http://developer.dynamicweb.dk/Weblog-16918.aspx?action=ShowArticle&ArticleID=162

 

// Sebastian

 

You must be logged in to post in the forum