Developer forum

Forum » Ecommerce - Standard features » Placement of eCom groups in menu

Placement of eCom groups in menu

Martin Christensen
Reply

Hey,

consider that I have a webshop-page that also has a number of subpages. In the menu, is there a way to where the eCom groups are rendered? It seems that by default the subpages are rendered first followed by the eCom groups. In some cases I'd like to reverse that.

Maybe it's easy, maybe it's impossible, I'm not an expert in xslt. Let me know if you need my navigation settings or anything else.

Thanks!

//Martin


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Martin

It is not possible to change witht the current implementation.

You have these options:

  • In your XSLT rendering the navigatin structure, find the subpages first (they do not have &GroupID= in their link) and render them followed by the groups (which have &GroupID= in their links). Should be farely easy, but requires a bit of XSLT ninja tricks.
  • Move the subpages to another location or hide them in the menu. Then in the Ecommerce group tree, create groups where you want the pages. On the groups, make a custom field that can hold the link to the page, and redirect to it. Kind of a hack, but it would work.
  • An alternative is to create a navigation provider - but it will be a LOT of work and be difficult.

BR Nicolai

Votes for this answer: 1
 
Martin Christensen
Reply

Thanks for the quick reply, I'll try the xslt approach most likely :)

 

You must be logged in to post in the forum